currentfeature/docs
Last change
on this file since 5ec3a0b was
5ec3a0b,
checked in by borja <borja@…>, 5 years ago
|
Imported sources from the old python2-only repository:
- Modified the code so it is python 3.6 compatible
- Fixed deprecation warnings, pyramid 1.10.x supported now
- Fixed deprecation warnings about some libraries, like pyramid-simpleform
- Added pytest-pycodestyle and pytest-flakes for automatic checks on the
source code files when running tests.
- Added default pytest.ini setup to enforce some default parameters when
running tests.
- Cleaned up the code a bit, catched up with tests coverage.
|
-
Property mode set to
100644
|
File size:
484 bytes
|
Rev | Line | |
---|
[5ec3a0b] | 1 | OpenWorkouts |
---|
| 2 | ============ |
---|
| 3 | |
---|
| 4 | Getting Started |
---|
| 5 | --------------- |
---|
| 6 | |
---|
| 7 | - Change directory into your newly created project. |
---|
| 8 | |
---|
| 9 | cd ow |
---|
| 10 | |
---|
| 11 | - Create a Python virtual environment. |
---|
| 12 | |
---|
| 13 | python3 -m venv env |
---|
| 14 | |
---|
| 15 | - Upgrade packaging tools. |
---|
| 16 | |
---|
| 17 | env/bin/pip install --upgrade pip setuptools |
---|
| 18 | |
---|
| 19 | - Install the project in editable mode with its testing requirements. |
---|
| 20 | |
---|
| 21 | env/bin/pip install -e ".[testing]" |
---|
| 22 | |
---|
| 23 | - Run your project's tests. |
---|
| 24 | |
---|
| 25 | env/bin/pytest |
---|
| 26 | |
---|
| 27 | - Run your project. |
---|
| 28 | |
---|
| 29 | env/bin/pserve development.ini |
---|
Note: See
TracBrowser
for help on using the repository browser.