This website serves 5 purposes:
- Allow users to sign up to the service
- Allow users to edit their preferences
- Allow users to create and edit applications
- Serve as an oauth2 authorization server for applications created by the users
- Serve as the resource server for the API used by said applications
- Python 3.x
- Django 2.x
- Postgres >= 9
- PostGIS
- Redis
You'll need an API key for the Geocoding API from Google
You'll also need API keys and/or secrets from the following APIs:
Finally, if you want to enable social sign-in, get OAuth2 credentials from Google, Facebook or Github
Clone the repo, set up your virtualenv and run pip install -r requirements.txt
.
Then run python initialize.py
and answer the questions.
After everything is set up, configure your superuser by running python manage.py createsuperuser
.
Then run the app with ./run.sh
and go to localhost:8000/admin/
.
There you can configure your site at the Sites
model and your social logins as social accounts model.
Done!
You can also deploy to Heroku