Changeset View
Changeset View
Standalone View
Standalone View
DEVELOP.md
| Show All 18 Lines | |||||
| # Development environment | # Development environment | ||||
| To set up up your development environment make sure you have valid version of | To set up up your development environment make sure you have valid version of | ||||
| Python (check `pyproject.toml`) with [Poetry](https://python-poetry.org/) | Python (check `pyproject.toml`) with [Poetry](https://python-poetry.org/) | ||||
| installed on your `PATH` and then do the following in the root of the | installed on your `PATH` and then do the following in the root of the | ||||
| repository: | repository: | ||||
| ``` | ``` | ||||
| poetry install # Install dependencies. | poetry install # Install dependencies. | ||||
| cp tests/settings.example.py tests/settings.py # Adjust settings.py as needed. | cp looper_example_project/settings.example.py looper_example_project/settings.py # Adjust settings.py as needed. | ||||
| # Make sure you have your database setup according to your settings.py | # Make sure you have your database setup according to your settings.py | ||||
| ./manage.sh migrate # Update the schema. | ./manage.sh migrate # Update the schema. | ||||
| ./test.sh # Make sure the tests run. | ./test.sh # Make sure the tests run. | ||||
| ``` | ``` | ||||
| # Testing | # Testing | ||||
| Make sure your development environment is set up correctly and then run | Make sure your development environment is set up correctly and then run | ||||
| Show All 12 Lines | |||||