Bowe Strickland
2018-10-27 6e49871feaa1a60549206cf5512c9fb7f3d5fd56
docs/tutorials/wiki2/src/installation/README.txt
@@ -1,14 +1,43 @@
tutorial README
==================
myproj
======
Getting Started
---------------
- cd <directory containing this file>
- Change directory into your newly created project.
- $VENV/bin/python setup.py develop
    cd tutorial
- $VENV/bin/initialize_tutorial_db development.ini
- Create a Python virtual environment.
- $VENV/bin/pserve development.ini
    python3 -m venv env
- Upgrade packaging tools.
    env/bin/pip install --upgrade pip setuptools
- Install the project in editable mode with its testing requirements.
    env/bin/pip install -e ".[testing]"
- Initialize and upgrade the database using Alembic.
    - Generate your first revision.
        env/bin/alembic -c development.ini revision --autogenerate -m "init"
    - Upgrade to that revision.
        env/bin/alembic -c development.ini upgrade head
- Load default data into the database using a script.
    env/bin/initialize_tutorial_db development.ini
- Run your project's tests.
    env/bin/pytest
- Run your project.
    env/bin/pserve development.ini