This is the production Rest API of https://www.vortechmusic.com on the new VPS. The frontend is in the repository: https://github.com/Torniojaws/vortech-front/
The preferred method is to use the makefile, which runs a whole slew of Ansible playbooks.
sudo apt get install make
deploy/vault_password
and add the project vault password there.make deploy-dev
or make deploy-prod
You can also check the full manual steps from Install Instructions
When updating an existing installation, use make update-prod
In the actual server, the backend runs via uWSGI as a service. But locally you can/need to launch it manually:
make run
INSERT INTO UsersAccessMapping(UserID, UsersAccessLevelID) VALUES(1, 4);
Replace the 1
with the actual Users.UserID you have locally. Should usually be 1
.You can run the tests with make test
, or alternatively: python3 -m pytest tests/
.
If you want the coverage report when running manually, run it with:
python3 -m pytest tests/ --cov=apps --cov-report term-missing
The common major.minor.micro
format is followed. major
releases will be huge updates with
potential breaking features. minor
releases add new features that don't break anything.
micro
releases are usually small tweaks and little additions. Until the first production release,
the project stays as 0.x.x
. The first production release will be 1.0.0
.