|
il y a 7 ans | |
---|---|---|
doc | il y a 7 ans | |
tracim | il y a 7 ans | |
.coveragerc | il y a 7 ans | |
.gitignore | il y a 7 ans | |
.travis.yml | il y a 7 ans | |
CHANGES.txt | il y a 7 ans | |
MANIFEST.in | il y a 7 ans | |
README.md | il y a 7 ans | |
development.ini.sample | il y a 7 ans | |
production.ini | il y a 7 ans | |
pytest.ini | il y a 7 ans | |
setup.py | il y a 7 ans |
This code is Work in progress. Not usable at all for production.
Backend source code of tracim v2, using Pyramid Framework.
on Debian Stretch (9) :
sudo apt install git
sudo apt install python3 python-virtualenv python3-dev python-pip
git clone https://github.com/tracim/tracim_backend.git
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 using tracimcli tool
tracimcli db init
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