/Project-Heritage-Server

A server for PH app

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Project Heritage API

Build Status License: GPL v3


A server for Project Heritage application

Prerequisites

  • Python v 3.6
  • Postgresql
  • Python virtaulenv
  • pip
  • graphql
  • heroku

Installation

create virtualenv
source venv/bin/activate
pip install -r requirements.txt
mv example.env .env
python manage.py migrate
python manage.py runserver

Database Schema

Deployment

We are using heroku to deploy

heroku login
heroku create demo-bootcamp
heroku addons:create heroku-postgresql:hobby-dev
heroku run python manage.py migrate
heroku config:set DJANGO_SECRET_KEY=`./manage.py generate_secret_key`
heroku run python manage.py migrate

Author

Dennis Kamau

Contributors

Victor Kariuki

License

MIT License