/freepto-web

Flask scripts for Freepto web page

Primary LanguageHTMLGNU General Public License v2.0GPL-2.0

freepto-web

Flask scripts for Freepto's website.

HTML generation

To generate the HTML for the website, use this command:

make all

HTML generation (manual mode)

You shouldn't need to do this, but if for some reason you cannot use make or if it is broken, then you can build the HTML manually.

Static HTML files will be created in the build subdirectory.

# create virtualenv:
virtualenv env

# activate:
source env/bin/activate

# install requirements:
pip install -r requirements.txt

# freeze new version:
python manage.py freeze

Browse

Unfortunately, a simple firefox build/index.html won't work. You need to do

cd build
python2 -m SimpleHTTPServer

then point your browser to http://localhost:8000/