Skip to content

DLR-SL/cpacs-website

Repository files navigation

Website for CPACS

Homepage (landing page) and announcements for CPACS (http://www.cpacs.de).

Based on Pelican and a modifed Polar theme by CodePassenger.

Local Installation

  • 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-ly/cpacs-website

Configuration

  • Set proper port for local testing, which works on your machine in fabfile.py
# Port for `serve`
PORT = 8001

Build

  • Generate website
fab build
fab serve
  • Convenience target for rebuild and starting local server
fab reserve

Deployment

Writing Content

Use either Markdown or HTML for new articles, as described in Writing content.

Add new articles to content.

Metadata

The required meta data for CPACS release announcements are:

Title: Release 2.3.0 
Date: 2015-11-04 12:00
Category: Releases
Author: CPACS

Image sizes

  • Article image: 870x440 px
  • Thumbnail large: 100x108
  • Thumbnail small: 67x73