Skip to content
This repository has been archived by the owner on Dec 14, 2019. It is now read-only.

CodeForBaltimore/civicideahubV2backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Civicideahub Backend

REST API Backend for the civicideahubV2 project. The foundation for this API followed the approach highlighted in this TDD driven tutorial.

Installation & Server Initialization

  1. Install Python 3 if you haven't already
  2. In root directory, run theses terminal commands
virtualenv -p /usr/local/bin/python3 venv
source venv/bin/activate
  1. Change to the ideahubrest directory (cd ideahubrest/)
  2. Start the dev server
python3 manage.py runserver

Helpful Commands

  1. Update model (If you make changes to models.py)
python3 manage.py makemigration
python3 manage.py migrate
  1. Validate tests
python3 manage.py test

About

Backend for Civic Idea Hub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages