Repository for the wws.rosedu.org
(not existing yet) source.
Site is made by Frozen-Flask starting with a Flask application.
As a result we get static files to upload on server. Like Jekyll
but more flexible.
Local clone:
$ git clone https://github.com/rosedu/wws.rosedu.org.git $ cd wws.rosedu.org
Virtualenv, dependencies:
$ virtualenv sandbox $ echo '*' > sandbox/.gitignore $ source sandbox/bin/activate $ pip install -r requirements-dev.txt
Run local server:
$ echo 'DEBUG=on' > .env $ honcho start
Upload to server:
$ ./manage.py freeze $ rsync -rtv --del build/ [email protected]:/var/www