Aliakseeva / procos

procos: project & contract system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PROCOS

project & contract system -
the command line program for managing contracts and projects.

Based on:

🐍 Python3
🐘 PostgreSQL database
πŸ“œ SQLAlchemy ORM
πŸ“ Alembic database migration tool
🐳 Docker containers
βœ… Pytest

Fast start:

Type help to get available commands:
> help

DOCKER RUN:

1. Clone repository:
git clone https://github.com/Aliakseeva/MenuApp
2. Set up .evn file, for example:
DB_HOST=postgres
DB_PORT=5432
DB_NAME=postgres
DB_USER=postgres
DB_PASS=postgres
POSTGRES_HOST_AUTH_METHOD=trust
3. Run docker-compose:

Make sure you are located in project repository!

 docker-compose run --service-ports procos

MANUAL RUN:

1. Clone repository:
git clone https://github.com/Aliakseeva/procos
2. Set up .evn file, for example:
DB_HOST=localhost
DB_PORT=5432
DB_NAME=postgres
DB_USER=postgres
DB_PASS=postgres
3. Create virtual environment and activate it:

Make sure you are located in project repository!

python -m venv venv
source venv/bin/activate
4. Install requirements:
pip install -r requirements.txt
5. Apply migrations:
alembic upgrade head
6. Start the project:
python3 run.py

If you get unicodeencodeerror (usually on Windows), set TABLE_STYLE = 'grid' in procos/const.py

About

procos: project & contract system


Languages

Language:Python 98.7%Language:Mako 1.0%Language:Dockerfile 0.3%