diff --git a/README.md b/README.md index 3bf6aea..0c05758 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ host this on). Copy config.ini.example to config.ini and edit it to your liking. Then, you can run this command to try the site in development mode: - python app.py + python3 app.py [Click here](http://localhost:5000) to visit your donation site and further instructions will be provided there. diff --git a/config.ini.example b/config.ini.example index ada3730..20893d4 100644 --- a/config.ini.example +++ b/config.ini.example @@ -1,5 +1,8 @@ [dev] # Change this to the actual location of your site +# You can include a path in the domain if it's a subdirectory +# i.e. domain=drewdevault.com/donate +# omit the trailing slash protocol=http domain=localhost:5000 # Change this value to something random and secret @@ -17,13 +20,17 @@ smtp-password=password smtp-from=donate@you.com # Your information -your_name=Joe Bloe -your_email=joe@bloe.com +your-name=Joe Bloe +your-email=joe@bloe.com # ^ you should have a gravatar that works with this email # SQL connection string connection-string=postgresql://postgres@localhost/fosspay +# Stripe API info: https://dashboard.stripe.com/account/apikeys +stripe-secret= +stripe-publish= + # Click here first: https://dashboard.stripe.com/account/bitcoin/enable enable-bitcoin=no diff --git a/requirements.txt b/requirements.txt index a38b3e1..d703c30 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,9 @@ stripe Flask Jinja2 Flask-Misaka +Flask-Login +psycopg2 +bcrypt gunicorn sqlalchemy-utils +pystache diff --git a/templates/admin.html b/templates/admin.html index feb3aff..9d8024c 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -80,7 +80,7 @@
Donors will not be given a choice of project unless you have at least 2.
-Enter your details for the admin account:
-