GithubHelp home page GithubHelp logo

derek-zl / erp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lixinyang123/erp

0.0 0.0 0.0 709 KB

ERP Desktop App base on Flask & Electron

License: MIT License

Shell 0.35% JavaScript 49.22% Python 34.36% PowerShell 0.41% CSS 4.26% HTML 11.39%

erp's Introduction

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

erp's People

Contributors

lixinyang123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.