Homepage (landing page) and announcements for RCE (http://rcenvironment.de).
Based on Pelican and a modifed Polar theme by CodePassenger.
-
Install Python (Anaconda works perfectly)
-
Install Pelican and supporting libraries
pip install pelican pip install markdown pip install fabric pip install ghp-import
-
Clone rce-website
git clone https://github.com/DLR-SC/rce-website
or
git clone [email protected]:DLR-SC/rce-website.git
-
Change to
rce-website/
- Set proper port for local testing which works on your machine in
fabfile.py
# Port for `serve`
PORT = 8001
-
Generate website
fab build
-
Start local server for testing (accessible via http://localhost:[port]/)
fab serve
-
Convenience target for rebuild and starting local server
fab reserve
Deploy to github pages with
fab gh_pages
Use either Markdown or HTML for new articles, as described in Writing content.
Add new articles to content
.
The required meta data for RCE release announcements are:
Title: Release 6.3.0
Date: 2015-07-29 10:20
Category: Releases
Author: RCE
- Article image: 870x440 px (doesn't apply for the overview image of the article)
- Thumbnail large: 100x108
- Thumbnail small: 67x73