mirror of
https://github.com/KevinMidboe/patlite-tower-lights-controller.git
synced 2026-01-10 03:15:41 +00:00
init commit
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# PATLITE light tower controller
|
||||
|
||||
## frontend
|
||||
|
||||
setup
|
||||
|
||||
```
|
||||
cp .env.exmaple .env
|
||||
```
|
||||
|
||||
build
|
||||
|
||||
```
|
||||
cd frontend
|
||||
yarn
|
||||
yarn build
|
||||
|
||||
# docker build
|
||||
build -t patlite-light-tower-controller .
|
||||
```
|
||||
|
||||
## server
|
||||
|
||||
```
|
||||
cd server
|
||||
virtualenv env
|
||||
source env/bin/activate
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
python3 main.py
|
||||
|
||||
or
|
||||
|
||||
python3 --server main.py
|
||||
```
|
||||
Reference in New Issue
Block a user