Website of CCC Swiss association.
The CCC-CH website is implemented with the help of Python and the Pelican Static Site Generator. Content is written in Markdown.
You can set up the development environment locally. Then you need the following tools:
- Python 2 or 3
- Virtualenv
First, create a virtualenv:
$ virtualenv VENV
$ . VENV/bin/activate
Then install the dependencies:
$ pip install -U -r requirements.txt
Now start the development server:
$ ./develop_server.sh start
The web server is now running on http://localhost:8000
.
You can use the online Markdown Editor to write articles and protocols.
If you have a user account on the ccc-ch.ch Server, first make sure that the
correct umask is set in your ~/.profile
file:
umask 022
Then you can deploy the website via rsync:
$ LANG=de_CH.UTF8 make rsync_upload