Open Source Business CRM Solution
Create a .env
file by copying .env.template
to the root folder.
Run the application in docker
docker-compose up --build
Folders
Files
.bandit
- Bandit security checks configuration
Create a virtual environment
mkvirtualenv bcrm
Install the dependencies
cd src
pip install -r requirements.txt
Set the flask app root
FLASK_APP=app
Initialize database
flask init-db
Run the application
flask run
import postman collection postman environment
or start building an application: swagger
Install tests dependencies
pip install -r tests/requirements.txt
Run the tests
pytest
Run with coverage report::
coverage run -m pytest
coverage report
coverage html # open htmlcov/index.html in a browser