mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
10 lines
269 B
Bash
10 lines
269 B
Bash
#!/bin/bash
|
|
|
|
echo "Start to cp source code"
|
|
if [ ! "$(ls -A /websoft9/apphub-dev)" ]; then
|
|
cp -r /websoft9/apphub/* /websoft9/apphub-dev
|
|
fi
|
|
|
|
echo "Running the apphub"
|
|
cd /websoft9/apphub-dev
|
|
uvicorn src.main:app --reload --host 0.0.0.0 --port 8080 --log-level error' |