Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Python API for quotes and quips
Python
Branch: dev

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
quipy
requirements
scripts
.gitignore
Procfile
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.