Powered by Django & Python
This Registry WEB is created to help HR team in companies track daily/monthly or yearly expenses.
Cost type can be included by clicking "Išlaidų tipai"
The cost can be added by clicking "Išlaidos". Costs can be filtered by date and cost type.
The monthly costs are shown by clicking on "Company cost control"
Before running the server, install docker (if choosing to use docker instead of SQLite).
Latest version(not necessary):
Older version apt-get:
- installing docker
$ sudo apt-get install docker-compose
-
Install virtual environment
$ pip install pipenv
-
Run virtual environment
$ pipenv shell
-
Install pipfile, pipfile.lock, requirements.txt at once
$ pipenv install
-
Check if all requirements are installed
$ pip list
-
To start project you must make migrations
$ python (or python3) manage.py makemigrations
$ python (or python3) manage.py migrate (will migrate all at once)
-
Create SuperUser (admin)
$ python manage.py createsuperuser
-
Run docker locally
$ docker-compose up -d
-
List running docker containers
$ sudo docker ps
- Run server
$ python manage.py runserver