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 0380a342fa Remove unnecessary example.html file 11 years ago
..
requirements Flask-assets support 11 years ago
{{cookiecutter.repo_name}} Remove unnecessary example.html file 11 years ago
.gitignore Flask-assets support 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 Modular structure with blueprints 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"