1.3 KiB
1.3 KiB
Installation
sudo apt-get install python-virtualenv python-dev
virtualenv --distribute venv
. venv/bin/activate
pip install -r requirements.txt
cd duskenweb
cp settings-sample.py settings.py
cd ..
python manage.py syncdb --all
python manage.py runserver
npm install
grunt watch
TODO
- Purchase membership-flow
- https
- cookies: secure, httpOnly
Development
# Run with SSL on port 8002 (needs stunnel4 package)
stunnel4 ssl/dev_https.conf
HTTPS=on python manage.py runserver localhost:8001
gnome-open https://localhost:8002
Client:
- Rewrite client side code in Backbone.js
- Start here: https://github.com/backbone-boilerplate/backbone-boilerplate
- Backbone Extensions:
- Chrome Browser Extension: https://chrome.google.com/webstore/detail/backbone-debugger/bhljhndlimiafopmmhjlgfpnnchjjbhd
- Inline validation