Skip to content
This repository

Simple Python API for quotes and quips

branch: dev

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 quipy
Octocat-spinner-32 requirements
Octocat-spinner-32 scripts
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
README.md

Virtual environment configuration

$ cd scripts
$ fab

Additional information can be found by running $ fab --list

From the commit logs:

This is a fabric script that can be used to create and initialize a virtual environment. In order for the script to work, virtualenv, virtualenvwrapper, and fabric must be installed.

$ pip install -U virtualenv virtualenvwrapper fabric

Heroku

$ heroku create --stack cedar --buildpack git@github.com:cbslocal/heroku-buildpack-python.git [name]

$ heroku create --stack cedar --buildpack git@github.com:cbslocal/heroku-buildpack-python.git --remote staging [name-staging]
$ heroku config:add DJANGO_DEBUG=True --remote staging

Deployment

Production

$ git push heroku master

Staging

$ git push staging develop:master

For further reading, see Managing Multiple Environemnts for an App

Be sure to set an environment variable:

export DJANGO_SETTINGS_MODULE=quipy.settings.local

Something went wrong with that request. Please try again.