Browse Source

add more usage instructions

master
Brett Langdon 10 years ago
parent
commit
c710d00b6a
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      README.rst

+ 13
- 0
README.rst View File

@ -22,5 +22,18 @@ To create a new starting project:
.. code-block:: bash
# Create new project folder from the skeleton
pip install cookiecutter
cookiecutter https://github.com/brettlangdon/cookiecutter-flask-app.git
cd ./project_name
# Setup new virtualenv and install dependencies
mkvirtualenv project_name
pip install -r requirements.txt
npm install
# Start the server
python -m project_name runserver
# Or, start using project script
PYTHONPATH. ./bin/project_name runserver

Loading…
Cancel
Save