lixinyang123 / ERP

ERP Desktop App base on Flask & Electron

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enterprise Resource Planning

ERP Desktop App base on Flask & Electron

How to Contribute?

Install pre-requisites

  • Python3
  • Python3-pip
  • Node.js
  • npm
  • Sqlite
On Windows
  • Install Python ( Included pip )

  • Install Nodejs ( Included npm )

On Linux
  • Install Python & Python-pip

    • Ubuntu

      apt install python3 python3-pip -y
    • CentOS

      dnf install python3 python3-pip -y
  • Install Node.js & npm

    • Ubuntu

      apt install nodejs -y
    • CentOS

      dnf install nodejs -y

Create database

sqlite server/src/erp.db < server/database.sql

Restore dependencies

Restore backend dependencies.

cd server
pip3 install -r requirements.txt

Restore frontend dependencies.

cd client
npm install

Restore backend and frontend dependencies with script.

  • use bash

    bash scripts/restore.sh
  • use powershell

    pwsh scripts/restore.ps1

Run

build backend and move it to frontend resources folder.

pyinstaller -F server/main.spec
mkdir -p client/resources/server
mv dist/main/* client/resources/server

run frontend

npm run start

build

use build script.

  • use bash

    bash scripts/build.sh
  • use powershell

    pwsh scripts/build.ps1

screenshots

  • Login

login

  • DarkMode

dark

  • Sale manager

sale

  • User manager

user

  • Product manager

product

About

ERP Desktop App base on Flask & Electron

License:MIT License


Languages

Language:JavaScript 49.2%Language:Python 34.4%Language:HTML 11.4%Language:CSS 4.3%Language:PowerShell 0.4%Language:Shell 0.3%