RFitz99 / sincserver

SINC backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sincserver

Build status Coverage Status Code Climate

SINC backend.

Requirements

  1. Python 3.4 or above.
  2. PostgreSQL 9.5.4 or above. (SINC will use Postgres in production and has psycopg2 in its dependencies, although you're free to use SQLite in development.)

Getting started

  1. Clone this repo: git clone https://github.com/sdob/sincserver.git && cd sincserver
  2. Install dependencies: pip install -r requirements.txt (preferably in a virtualenv).
  3. Create your database.
  4. Rename env.example to .env and edit the values of the SECRET_KEY and DATABASE_URL environment variables.
  5. Apply the database migrations: python manage.py migrate
  6. Create a superuser: python manage.py createsuperuser
    This will prompt you for a username (type in anything you want here; SINC uses the db's primary key as the username), an email address, and first and last names.
  7. (Optional) Run the tests: python manage.py test
  8. Run the development server: python manage.py runserver

This will start the dev server running on http://localhost:8000/.

About

SINC backend


Languages

Language:Python 100.0%