Skip to content

AurelijaNorvaisaite/FinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Expenses Registry

Powered by Django & Python

General idea

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" Alt text

The cost can be added by clicking "Išlaidos". Costs can be filtered by date and cost type. Alt text

The monthly costs are shown by clicking on "Company cost control" Alt text

Install Docker

Before running the server, install docker (if choosing to use docker instead of SQLite).

Latest version(not necessary):

Older version apt-get:

Usefull Commands

  • 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

Alt text

  • Run server
    $ python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages