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.
Steven Loria
3344480ffb
|
11 years ago | |
---|---|---|
.. | ||
requirements | 11 years ago | |
{{cookiecutter.repo_name}} | 11 years ago | |
.gitignore | 11 years ago | |
.travis.yml | 11 years ago | |
LICENSE | 11 years ago | |
Procfile | 11 years ago | |
README.rst | 11 years ago | |
manage.py | 11 years ago | |
requirements.txt | 11 years ago | |
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"