Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

cabin/neu-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Initial NEU site API

To set up a development and build environment, assuming virtualenvwrapper and pip are installed:

% mkvirtualenv -a $(pwd) -r requirements.txt neu
% pip install -r dev-requirements.txt
% alembic upgrade head
% ./manage.py runserver

Migrations

Data migrations are handled by Alembic. Use alembic upgrade head to ensure your development database is up to date. After changing model definitions in neu/models.py, you can ask alembic to automatically create a new revision for you:

% alembic revision --autogenerate -m 'Short description'

Read and edit the new revision (in alembic/versions), then apply the migration as usual.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages