Skip to content

PlamenNeshkov/incube

Repository files navigation

#kansas Build Status

API Management Platform. Check out the project's documentation.

Prerequisites

How to run the project

Fork and clone the repo.

Create a db and user:

sudo -u postgres createuser $YOUR_LINUX_USERNAME
sudo -u postgres createdb incube

Create and activate a virtualenv:

virtualenv env
source env/bin/activate

Install dependencies:

pip install -r requirements/local.txt

Migrate the database and create a superuser:

python incube/manage.py migrate
python incube/manage.py createsuperuser

Run the development server:

python incube/manage.py runserver

Create Servers

By default the included fabfile will setup three environments:

  • dev -- The bleeding edge of development
  • qa -- For quality assurance testing
  • prod -- For the live application

Create these servers on Heroku with:

fab init

Automated Deployment

Deployment is handled via Travis. When builds pass Travis will automatically deploy that branch to Heroku. Enable this with:

travis encrypt $(heroku auth:token) --add deploy.api_key

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors