|
пре 7 година | |
---|---|---|
doc | пре 7 година | |
tracim | пре 7 година | |
.coveragerc | пре 7 година | |
.gitignore | пре 7 година | |
.travis.yml | пре 7 година | |
CHANGES.txt | пре 7 година | |
MANIFEST.in | пре 7 година | |
README.md | пре 7 година | |
development.ini.sample | пре 7 година | |
production.ini | пре 7 година | |
pytest.ini | пре 7 година | |
setup.py | пре 7 година |
This code is Work in progress. Not usable at all for production.
Backend source code of tracim v2, using Pyramid Framework.
TODO
Go to tracim subdirectory:
cd tracim
Create a Python virtual environment:
python3 -m venv env
Activate it in your terminal session (all tracim command execution must be executed under this virtual environment):
source env/bin/activate
Upgrade packaging tools:
pip install --upgrade pip setuptools
Install the project in editable mode with its testing requirements:
pip install -e ".[testing]"
Create configuration files for a development environment:
cp development.ini.base development.ini
Initialize the database.
initialize_tracim_db development.ini
Run your project:
pserve development.ini
Run your project's tests:
pytest
Run mypy checks:
mypy --ignore-missing-imports --disallow-untyped-defs tracim
Run pep8 checks:
pep8 tracim