Web service voor het LED-display
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
led-display/{{cookiecutter.repo_name}}
Steven Loria 24a6ea59dd Fix TestCase name 11 years ago
..
requirements Add simple manage.py script 11 years ago
{{cookiecutter.repo_name}} Fix TestCase name 11 years ago
.gitignore Initial commit 11 years ago
.travis.yml Initial commit 11 years ago
LICENSE Initial commit 11 years ago
Procfile Initial commit 11 years ago
README.rst Add dev/prod configuration 11 years ago
manage.py Fix TestCase name 11 years ago
requirements.txt Initial commit 11 years ago
run.py Correctly hooks up the port ENV in run.py 11 years ago

README.rst

===============================
{{ cookiecutter.project_name }}
===============================

{{ cookiecutter.project_short_description}}


Quickstart
----------

::

git clone https://github.com/{{cookiecutter.github_username}}/{{ cookiecutter.repo_name }}
cd {{cookiecutter.repo_name}}
pip install -r requirements/dev.txt
export {{cookiecutter.repo_name|upper}}_ENV='dev'
python manage.py createdb
python manage.py runserver


Shell
-----

To open the interactive shell, run ::

python manage.py shell

By default, you will have access to ``app``, ``models``, and ``db``.

Development / Production Environments
-------------------------------------

Configuration environements are handled through the {{cookiecutter.repo_name|upper}}_ENV system environment variable.

To switch to the development environment, set ::

export {{cookiecutter.repo_name|upper}}_ENV="dev"

To switch to the production environment, set ::

export {{cookiecutter.repo_name|upper}}_ENV="prod"