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.

42 lines
1011 B

===============================
11 years ago
{{ cookiecutter.project_name }}
===============================
11 years ago
{{ cookiecutter.project_short_description}}
Quickstart
----------
::
11 years ago
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"