Skip to content

A backend service for Belfast Cares written in Python using the Django framework

License

Notifications You must be signed in to change notification settings

belfastcares/belfast-cares-service

Repository files navigation

belfast-cares-service

Build Status Coverage Status

The belfast cares api service built using Django utilizing postgres & bootstrap, which can easily be deployed to Heroku.

Prerequisites

  • python3
  • pip
  • postgres
  • virtualenv

Initial setup via : https://github.com/belfastcares/belfast-cares-service/wiki/Setup-Guide

You can run the following steps manually or use ./setup.sh within the repository. Be sure to chmod 777 setup.sh before use.

Redeployment Steps

rm -rf belfastcares-env

virtualenv -p python3 belfastcares-env
source belfastcares-env/bin/activate
pip install -r requirements.txt

dropdb hackathon
createdb hackathon
python manage.py migrate
python manage.py loaddata web_app/fixtures/initial_data.json
python manage.py runserver

About

A backend service for Belfast Cares written in Python using the Django framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •