This project aims to technologize the knock-on-the-door fund-raising practice!
- Python 3.X
- pip
- Postgres
# Install requirements
pip install -r requirements.txt
# Run the server
python app.py
This is the preferred method
Make sure you installed Heroku before hand.
heroku local web -f Procfile.windows
createdb -U postgres hakes_trom
set "APP_SETTINGS=config.DevelopmentConfig" && set "DATABASE_URL=postgresql://localhost/hakes_trom?user=postgres&password=Aa123456" && python manage.py db migrate
set "APP_SETTINGS=config.DevelopmentConfig" && set "DATABASE_URL=postgresql://localhost/hakes_trom?user=postgres&password=Aa123456" && python manage.py db upgrade
psql -U postgres
Make sure to add PGPASSWORD and PGUSER to your env vars before hand
dropdb hakes_trom
createdb hakes_trom
set "APP_SETTINGS=config.DevelopmentConfig" && set "DATABASE_URL=postgresql://localhost/hakes_trom?user=postgres&password=Aa123456" && python manage.py db upgrade
set "APP_SETTINGS=config.DevelopmentConfig" && set "DATABASE_URL=postgresql://localhost/hakes_trom?user=postgres&password=Aa123456" && python manage.py db migrate
set "APP_SETTINGS=config.DevelopmentConfig" && set "DATABASE_URL=postgresql://localhost/hakes_trom?user=postgres&password=Aa123456" && python manage.py db upgrade
heroku local web -f Procfile.windows
- Use py3.7
- Add pg to PATH
- Set
DATABASE_URL
as env var
You HAVE to set the following environment variables with the respected info:
PAYPAL_CLIENT
PAYPAL_TOKEN
Since this version is using the sandbox environment of PayPal's API, a payment can be accepted only by users defined in PayPal's web console.