Coder Social home page Coder Social logo

sciwork / swportal Goto Github PK

View Code? Open in Web Editor NEW
13.0 7.0 30.0 3.17 MB

Portal website for sciwork: https://sciwork.dev/

Home Page: https://sciwork.dev/

Makefile 3.01% Python 17.62% JavaScript 24.87% CSS 27.41% HTML 27.09%
science numerical computing website

swportal's Introduction

Sciwork portal

This repository is for the website for the sciwork portal. Check-ins to the repository will be automatically deployed to the website by Netlify.

The website is built by using pelican. The flow for contribution is:

  1. Clone the repository
  2. Run a local devserver
  3. Edit the content
  4. File a pull request (PR) against develop branch
  5. Resolve discussions in the PR review
  6. PR is merged, done

Note

Do NOT file PR against the master branch.

In the working copy root, run the following command for the local devserver:

env SITEURL=http://localhost:8000 make devserver [PORT=8000]

Branch convention

The master branch is deployed to the official website https://sciwork.dev and https://swportal.netlify.app.

The develop branch is deployed to the under development https://develop--swportal.netlify.app.

Other branches are deployed to https://{branch}--swportal.netlify.app. Replace / in the branch name with -.

Pull requests are deployed to https://deploy-preview-{id}--swportal.netlify.app. {id} is the PR ID.

Changes for improvement

To add contents or website features, create a branch named like feature/your-addition.

New blog entries

To add a new blog entry, the branch name should be feature/blog/entry-name.

New event entries

To add a new evnet entry, the branch name should be feature/event/entry-name.

Bugfix

If you want to fix bugs or typographical errors, create a branch named like bugfix/your-fix.

Writing content

Pelican supports writing content in reStructuredText format (with a file ending in .rst) or Markdown syntax (with a file ending in .md, .markdown, .mkd, or .mdown).

Scisprint

To add a new Scisprint event, save the pages into content/pages/sprint/{date:%Y} directory, and the URL should be sprint/{date:%Y}/{slug}.

Generate Sitemap

In order to generate sitemap.xml smoothly, some modifications are necessary:

  1. Make sure that env variable SITEURL has existed.
  2. Make sure that each .rst has :url: and :save_as: parameters.
  3. each time you run pelican content or make html, sitemap.xml will be generated automatically.

swportal's People

Contributors

chestercheng avatar cstnaya avatar dependabot[bot] avatar en-chou avatar j8xixo12 avatar jamie212 avatar josix avatar kuomc avatar li-pro avatar linoil avatar lynchu avatar mattwang44 avatar mindihx avatar mlouielu avatar ohmybuggg avatar rockleona avatar sucitw avatar terrychan999 avatar tigercosmos avatar tomatoprinx avatar tychuang1211 avatar y3jo6 avatar yenpeichen07 avatar yungyuc avatar yuyanghh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

swportal's Issues

Repurpose meetup section for weekly meetings

In the past we use the name "meetup" for irregular meetings like https://sciwork.dev/meetup/2022/10-nycu . Recently the community wanted to organize a series of weekly meetings and found meetup is a suitable name.

This issue is filed to track repurposing the name meetup for the weekly meeting series. We should change the website accordingly. The past "meetup" event should be moved to the "sprint" list. And the meetup list should host information for the new weekly series.

Add new navbar tab for meetup

The sciwork community is planning for a new type of event named "meetup" (see discussions in https://discord.gg/wtEkBQfBtg), and there should be a navbar tab and a list page for it, just like those of "sprint".

The "meetup" tab can be at the left or right of the "sprint" tab.

swportal sprint 20-2

swportal sprint 20-2

Sciwork Portal (swportal) is the future website planned to serve at http://sciwork.dev/, to replace the current "sciwork 2020 conference" web site. The source files are hosted in https://github.com/sciwork/swportal/ (this repository), and this sprint is to kick off the development.

Last sprint: #1

Topics included in the sprint:

  • Familiar with the command line operations
  • Static website generator (Pelican)

This issue is to track the related information, and will be continuously updated.

(Last updated on 27th July 2020.)

swportal sprint 20-1

swportal sprint 20-1

Sciwork Portal (swportal) is the future website planned to serve at http://sciwork.dev/, to replace the current "sciwork 2020 conference" web site. The source files are hosted in https://github.com/sciwork/swportal/ (this repository), and this sprint is to kick off the development.

Topics included in the sprint:

  • How does the website works?
  • DNS System
    • .dev domain
    • HTTP v.s. HTTPs
  • Web Server
  • Static Website Generator
    • Tailwind CSS
    • Pelican

Note: https://us02web.zoom.us/j/83281512748?pwd=QTFxMzd1bnUvMTdQcmZCVm9heUU1dz09

This issue is to track the related information, and will be continuously updated.

(Last updated on 11th July 2020.)

Ordered list of rst is not rendered in a correct way

See the example at #127. A rst ordered list is not rendered correctly:

#. `Intel Xeon Platinum 9282
   <https://en.wikichip.org/wiki/intel/xeon_platinum/9282>`__

   #. 56 cores
   #. 77MB L3 cache memory

#. `AMD EPYC 7H12
   <https://www.amd.com/en/products/cpu/amd-epyc-7h12>`__

   #. 64 cores
   #. 256MB L3 cache memory

Long title is clipped in mobile view

Screen Shot 2020-07-20 at 22 07 40

When the page title is long enough, it is clipped by the cover animation, and the red underline location is too low. Not sure what is the best way to fix this ...

create env under Windows + Conda

create conda environments: conda create -n env_name

get into the environment: conda activate env_name

install python and the dependencies:

  • conda install python=3.7
  • conda install -c conda-forge pelican
  • conda install markdown

go to the swportal folder you cloned:

  • pelican content -s pelicanconf.py
  • cd output
  • python -m pelican.server

the are some bugs with pelican --autoreload --listen
it will result in OSError: [WinError 87]
ref: getpelican/pelican#2400
so you can only compile website and depoly/publish through the command above now

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.