This project is a simple app to manage create and manage settlements with various vendors. On the frontend you can create customers, companies, materialas and invoices. On the backend you can use simple rest api to list above objects.
- Python 3.8.0
- Create virtualenv and clone this repository
python -m venv myenv cd myenv git clone https://github.com/kaczmprz/invoices.git
- Activate virtualenv
source bin/activate
- Install libraries from requirements.txt
pip install -r requirements.txt
- Prepare database
python manage.py makemigrations python manage.py migrate
- Create superuser
python manage.py createsuperuser
- Generate random data and load to database
python build_db.py
- If you would like to clean database run
python manage.py flush
- Runserver
python manage.py runserver