Skip to content

Latest commit

 

History

History
69 lines (60 loc) · 1.42 KB

unix-based.md

File metadata and controls

69 lines (60 loc) · 1.42 KB

Getting Started

You need to install these :

To download the repo use :

    git clone https://github.com/PranjalGupta2199/OFFLINE-ERP.git

Prerequisites

You are going to need the following libraries :

  • gi
  • pandas
  • PyPDF2
  • tabula
  • reportlab

Virtual Environment - pipenv

Installation

  1. Install gi according to your OS:

    • Ubuntu:
        sudo apt libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
    • Fedora:
        sudo dnf install python3-gobject gtk3
    • Arch Linux
        sudo pacman -S python cairo pkgconf gobject-introspection gtk3
    • OpenSUSE
        sudo zypper install cairo-devel pkg-config python3-devel gcc gobject-introspection-devel
    • macOS
        brew install pygobject3 gtk+3
  2. Move to repo's directory using the following command.

    cd OFFLINE-ERP/
  1. Install the virtual environment
    pip3 install pipenv
  1. Activate the virtual env
    pipenv shell
  1. Download the dependencies
    pipenv install

Deployment

Run this command after activating your virtual environment (Step 4).

python3 main.py