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.
37 lines
592 B
37 lines
592 B
7 years ago
|
Ordr
|
||
|
====
|
||
|
|
||
|
This is a complete redo of the Ordr project.
|
||
|
|
||
|
|
||
|
Getting Started
|
||
|
---------------
|
||
|
|
||
|
- Change directory into your newly created project.
|
||
|
|
||
|
cd ordr
|
||
|
|
||
|
- Create a Python virtual environment.
|
||
|
|
||
|
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]"
|
||
|
|
||
|
- Configure the database.
|
||
|
|
||
|
env/bin/initialize_ordr_db development.ini
|
||
|
|
||
|
- Run your project's tests.
|
||
|
|
||
|
env/bin/pytest
|
||
|
|
||
|
- Run your project.
|
||
|
|
||
|
env/bin/pserve development.ini
|