Guénaël Muller 2e5b13d0da add comment about existing auth feature il y a 7 ans
tracim add comment about existing auth feature il y a 7 ans
.coveragerc configure coverage il y a 7 ans
.gitignore some typing and pep8 il y a 7 ans
.travis.yml configure coverage il y a 7 ans
CHANGES.txt Update CHANGES.txt il y a 7 ans
MANIFEST.in Begin Pyramid Alchemy Project with cookiecutter il y a 7 ans
README.md Update README.md il y a 7 ans
alembic.ini drop example model, add alembic tracimv1 history and use same database scheme as tracimv1 il y a 7 ans
development.ini.sample add config dev sample il y a 7 ans
production.ini Begin Pyramid Alchemy Project with cookiecutter il y a 7 ans
pytest.ini fix pytest conf il y a 7 ans
setup.py refactor view using hapic + add temporary example_api il y a 7 ans

README.md

Build Status Coverage Status Scrutinizer Code Quality

tracim_backend

This code is Work in progress. Not usable at all for production.

Backend source code of tracim v2, using Pyramid Framework.

Installation

Distribution dependencies

TODO

Setup Python Virtualenv

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]"

Configure Tracim_backend

Create configuration files for a development environment:

cp development.ini.base development.ini

Initialize the database.

initialize_tracim_db development.ini

Run Tracim_backend

Run your project:

pserve development.ini

Run Tests and others checks

Run your project's tests:

pytest

Run mypy checks:

mypy --ignore-missing-imports --disallow-untyped-defs tracim

Run pep8 checks:

pep8 tracim

CI

  • Code quality: https://scrutinizer-ci.com/g/tracim/tracim_backend/
  • Test validation: https://travis-ci.org/tracim/tracim_backend
  • Code coverage: https://coveralls.io/github/tracim/tracim_backend