30 lines
536 B
Markdown
Executable File
30 lines
536 B
Markdown
Executable File
## Front-end server
|
|
|
|
### `npm install`
|
|
|
|
Local use `env.dev`
|
|
|
|
### `npm start`
|
|
|
|
## Back-end server
|
|
|
|
### /src/server
|
|
|
|
### `python main.py`
|
|
|
|
Server local run at `localhost:5000`
|
|
|
|
### `Linus/Mac`
|
|
|
|
install package
|
|
|
|
### `Windows`
|
|
|
|
install package.\
|
|
Don't need to set permission, file `utils.py` command import `pwd`, `grp` and code function `ensure_correct_permissions`
|
|
|
|
### Database sqlite `my_database.db`
|
|
|
|
When server start with run check create table `labels`.\
|
|
If don't exist will create and add default 2 rows `logo.cisco`, `barcode.SN`
|