mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-09-13 07:21:16 +00:00
Fix EOSdash startup. (#394)
Some checks are pending
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Some checks are pending
docker-build / platform-excludes (push) Waiting to run
docker-build / build (push) Blocked by required conditions
docker-build / merge (push) Blocked by required conditions
pre-commit / pre-commit (push) Waiting to run
Run Pytest on Pull Request / test (push) Waiting to run
Revert to EOSdash startup as a sub-process. Add arguments to control the complete startup of both servers. Also development reload can now be given as an argument. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -84,12 +84,12 @@ clean: clean-docs
|
||||
@echo "Deletion complete."
|
||||
|
||||
run:
|
||||
@echo "Starting EOS server, please wait..."
|
||||
.venv/bin/fastapi run --port 8503 src/akkudoktoreos/server/eos.py
|
||||
@echo "Starting EOS production server, please wait..."
|
||||
.venv/bin/python src/akkudoktoreos/server/eos.py
|
||||
|
||||
run-dev:
|
||||
@echo "Starting EOS development server, please wait..."
|
||||
.venv/bin/fastapi dev --port 8503 src/akkudoktoreos/server/eos.py
|
||||
.venv/bin/python src/akkudoktoreos/server/eos.py --host localhost --port 8503 --reload true
|
||||
|
||||
# Target to setup tests.
|
||||
test-setup: pip-dev
|
||||
|
Reference in New Issue
Block a user