Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lixinyang123/erp
ERP Desktop App base on Flask & Electron
https://github.com/lixinyang123/erp
electron erp flask spa
Last synced: 25 days ago
JSON representation
ERP Desktop App base on Flask & Electron
- Host: GitHub
- URL: https://github.com/lixinyang123/erp
- Owner: lixinyang123
- License: mit
- Created: 2021-04-19T15:10:24.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T21:13:22.000Z (over 2 years ago)
- Last Synced: 2023-03-06T00:17:27.832Z (almost 2 years ago)
- Topics: electron, erp, flask, spa
- Language: JavaScript
- Homepage:
- Size: 692 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.python.org/) ( Included pip )
- Install [Nodejs](https://nodejs.org/) ( Included npm )
##### On Linux
- Install Python & Python-pip
- Ubuntu
```bash
apt install python3 python3-pip -y
```- CentOS
```bash
dnf install python3 python3-pip -y
```- Install Node.js & npm
- Ubuntu
```bash
apt install nodejs -y
```- CentOS
```bash
dnf install nodejs -y
```### Create database
```bash
sqlite server/src/erp.db < server/database.sql
```### Restore dependencies
Restore backend dependencies.
```bash
cd server
pip3 install -r requirements.txt
```Restore frontend dependencies.
```bash
cd client
npm install
```Restore backend and frontend dependencies with script.
- use bash
```bash
bash scripts/restore.sh
```- use powershell
```powershell
pwsh scripts/restore.ps1
```### Run
build backend and move it to frontend resources folder.
```bash
pyinstaller -F server/main.spec
mkdir -p client/resources/server
mv dist/main/* client/resources/server
```run frontend
```bash
npm run start
```### build
use build script.
- use bash
```bash
bash scripts/build.sh
```
- use powershell```powershell
pwsh scripts/build.ps1
```### screenshots
- Login
![login](./screenshots/login.png)
- DarkMode
![dark](./screenshots/dark.png)
- Sale manager
![sale](./screenshots/sale.png)
- User manager
![user](./screenshots/user.png)
- Product manager
![product](./screenshots/product.png)