Skip to content

WebApp that solves a limitation in the 'Fatture in cloud' platform

License

Notifications You must be signed in to change notification settings

Dear-Luca/Invoice-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Invoices-Manager

Description

This web application addresses a limitation in the Fatture in Cloud platform by allowing users to associate multiple categories, contracts, and cost centers with each invoice. It provides an efficient and flexible way to manage and organize invoices with just a few clicks.

Installation

  • Clone the repository:
git clone https://github.com/Dear-Luca/Invoice-Manager.git
cd Invoice-Manager

Install dependencies

pip3 install -r requirements.txt

Database & Docker Setup

This project uses MariaDB as the database, which runs inside a Docker container.

  • Create the docker-compose.yaml file:
services:
  mariadb:
    image: mariadb
    restart: always
    environment:
      MARIADB_ROOT_PASSWORD: "pswd"
    volumes:
      - YOUR_PATH:/var/lib/mysql
    ports:
      - 3306:3306
  • Start the database container with Docker Compose:
docker-compose up -d

Django Setup

  • Make sure your settings.py file is configured to connect to the MariaDB container. Example:
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'your_db_name',
        'USER': 'your_db_user',
        'PASSWORD': 'your_db_password',
        'HOST': 'localhost',
        'PORT': '3306',
    }
}
  • Run database migrations:
python3 manage.py migrate

Populate the database:

python3 manage.py populate_db

Run django server

python3 manage.py runserver

About

WebApp that solves a limitation in the 'Fatture in cloud' platform

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published