项目作者: lixinyang123

项目描述 :
Flask ERP System
高级语言: Python
项目地址: git://github.com/lixinyang123/ERP.git
创建时间: 2021-04-19T15:10:24Z
项目社区:https://github.com/lixinyang123/ERP

开源协议:MIT License

下载


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

      1. apt install python3 python3-pip -y
    • CentOS

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

    • Ubuntu

      1. apt install nodejs -y
    • CentOS

      1. dnf install nodejs -y

Create database

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

Restore dependencies

Restore backend dependencies.

  1. cd server
  2. pip3 install -r requirements.txt

Restore frontend dependencies.

  1. cd client
  2. npm install

Restore backend and frontend dependencies with script.

  • use bash

    1. bash scripts/restore.sh
  • use powershell

    1. pwsh scripts/restore.ps1

Run

build backend and move it to frontend resources folder.

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

run frontend

  1. npm run start

build

use build script.

  • use bash

    1. bash scripts/build.sh
  • use powershell

    1. pwsh scripts/build.ps1

screenshots

  • Login

login

  • DarkMode

dark

  • Sale manager

sale

  • User manager

user

  • Product manager

product