Giter VIP home page Giter VIP logo

rce-website's Introduction

Website for RCE

Homepage (landing page) and announcements for RCE (http://rcenvironment.de).

Based on Pelican and a modifed Polar theme by CodePassenger.

Local Installation

  • Install Python3 (Anaconda works perfectly)

  • Install Pelican and supporting libraries

    pip install invoke==1.4.1
    pip install pelican==3.7.1
    pip install markdown==3.1.1
    
  • If you want to deploy the website after changing it, additionally install

    pip install ghp-import==0.5.5
    

    Deployment requires write access to the repository https://github.com/DLR-SC/rce-website.

  • Clone this repository

Configuration

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

Build

  • Generate website

    invoke build
    
  • Start local server for testing (accessible via http://localhost:[PORT]/).

    invoke serve
    

    This does not rebuild the website after changes, meaning you will have to manually stop the local server, rebuild the website using invoke build, and restart the testing server after each change.

  • If you want to automatically rebuild the website after each change and have that new build served by the testing server, use

    invoke reserve
    

Deployment

In order to deploy the website, please first make sure that you have no local branch named gh-pages. You can verify by executing git branch and checking the output for a line that contains gh-pages. If such a line exists, you can delete the existing local branch. Please make sure that that branch contains no changes that you want to retain before deleting it by executing git branch -D gh-pages.

Once you have made sure that no local branch named gh-pages exists, execute the following commands to publish your changes. This requires write access to the repository at https://github.com/DLR-SC/rce-website. If you do not have such access, please contact one of the main developers at DLR for obtaining them.

git fetch https://github.com/DLR-SC/rce-website.git gh-pages:gh-pages
ghp-import -b gh-pages output
git push https://github.com/DLR-SC/rce-website.git gh-pages

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 RCE release announcements are:

Title: Release 6.3.0 
Date: 2015-07-29 10:20
Category: Releases
Author: RCE

Image sizes

  • Article image: 870x440 px (doesn't apply for the overview image of the article)
  • Thumbnail large: 100x108
  • Thumbnail small: 67x73

rce-website's People

Contributors

aweinert avatar foerni avatar janflink avatar onyame avatar yocaba avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.