Penelophant is RESTful auction service that provides modular auction types, payment gateways, and authentication systems.
- Python 2.7 or 3.3
- SQLAlchemy Compatible Database (PostgreSQL, MariaDB, SQLite, etc.)
- Duplicate the penelophant.config.DefaultConfig class and give it a name for your local config
- Ensure your local config subclasses DefaultConfig
- Create your virtualenv:
virtualenv env
- Enter your virtualenv:
source env/bin/activate
- Install packages:
pip install -r requirements/dev.txt
(pip3.3
orpip-3.3
--whichever works) - Inititalize the database:
python manage.py -c "penelophant.config.LocalConfig.LocalConfig" initdb
(python3
) - Run the server:
python manage.py -c "penelophant.config.LocalConfig.LocalConfig" runserver
(python3
) - To exit your virtualenv when you are done:
deactivate
This application can be installed directly to Heroku by switching to the heroku branch git checkout heroku
. Then run heroku create
and git push heroku heroku:master
. You'll need to set some config settings using environment variables. The config keys to be set can be found in EnvConfig.py
. You can use heroku config:set KEY=value
to set these.
We are using the Apache Licence, version 2.0. For the full license text, please see the included LICENSE file.