https://github.com/deeplearnphysics/deeplearnphysics.github.io
Group webpage top
https://github.com/deeplearnphysics/deeplearnphysics.github.io
pelican
Last synced: 12 months ago
JSON representation
Group webpage top
- Host: GitHub
- URL: https://github.com/deeplearnphysics/deeplearnphysics.github.io
- Owner: DeepLearnPhysics
- License: mit
- Created: 2017-12-06T00:46:10.000Z (over 8 years ago)
- Default Branch: develop
- Last Pushed: 2025-02-17T00:25:57.000Z (about 1 year ago)
- Last Synced: 2025-04-13T00:35:16.443Z (12 months ago)
- Topics: pelican
- Language: HTML
- Size: 18.5 MB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/DeepLearnPhysics/DeepLearnPhysics.github.io)
[](https://raw.githubusercontent.com/DeepLearnPhysics/DeepLearnPhysics.github.io/develop/LICENSE)
# DeepLearnPhysics.github.io
A repository for the DeepLearnPhysics group [top](https://deeplearnphysics.org) webpage for group descriptions.
The `master` branch holds static HTML files generated by [Pelican](http://docs.getpelican.com/en/stable/) with [uno theme](https://github.com/DeepLearnPhysics/pelican-uno).
The `develop` branch holds the source code to generate the website.
## Requirement
You need the python packages:
* `pelican >= 3.5.0`
* `markdown >= 2.6.9`
## How to contribute (develop)
For awesome you to help development, follow the following three steps: **installation**, **compilation**, **development**, and **publish**.
### Installation
1. Join the [web-blog](https://github.com/orgs/DeepLearnPhysics/teams/web-main) github team
2. Clone the repo: `git clone git@github.com:DeepLearnPhysics/DeepLearnPhysics.github.io`.
3. Make sure you are on the `develop` branch by `git branch`
### Compilation
By compilation we mean the generation of static HTMLs. This is fairly simple:
1. `make html`
### Development
Our development work is a process of modify-compile-check. The **first to-do** is:
1. Open `pelicanconf.py` and **uncomment** the line `#SITEURL = ''`. This generates HTMLs to be viewed locally.
2. `make devserver` then access `localhost:8000` on your browser. This runs a virtual pelican web server on your machine and allows you to browse the updated website contents all on your laptop.
3. Make modifications you wish to make. The `content` directory is where you make a _blog post_.
4. `make html` will update your local static website.
### Publish
After you finish your development work, if you want to publish your change on our website, you have to push your changes.
1. Open `pelicanconf.py` and **comment out** the line `SITEURL = ''`. This generates HTMLs to be viewed on the shared remote server.
2. `make html` and if you are running a local virtual server, `make stopserver`.
3. Commit your changes to the develop branch.
4. `git checkout master` ... the master branch holds static website contents.
5. `cp -r output/* ./`
6. `git add .`
7. `git commit -m "your message"`
8. `git push`
Done!
---
### Copyright and license
It is under [the MIT license](/LICENSE).