pennyworth-web
Web app for pennyworth
Changing the invoice amounts
-
Change the MEMBERSHIP_PRICE and/or AUTOPAY_DISCOUNT variables in the instance/pennyweb.cfg file on the server.
-
Restart the server by running:
# supervisortctl stop pennyworth # supervisorctl start pennyworth
Note: something is wrong with supervisorctl and it will not exit in a reasonable amount of time. It will stop and start the service relatively quickly, though. Just verify it is down and then back up by checking the site and then CTRL-C to kill the supervisorctl command once that is done
Setup
- Install virtualenv and virtualenv-wrapper
- mkvirtualenv pennyweb (in the future "workon pennyweb")
- cd /path/to/pennyworth-web
- pip install -r requirements.txt
- python setup.py develop
- mkdir instance
- cp pennyweb/default_settings.py instance/pennyweb.cfg
Running
- Make sure pennyweb virtualenv is activated ("workon pennyweb")
- Make sure you are in the pennyworth-web directory
- run "manage-pennyweb runserver"