Skip to content

Commit dd9f6e6

Browse files
authored
use venv in script
1 parent 73fb67b commit dd9f6e6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

run_opendream.sh

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
#!/bin/bash
22

3-
# Start uvicorn server
4-
pip install -r requirements.txt && uvicorn opendream.server:app --reload &
3+
python3 -m venv venv
4+
source venv/bin/activate
5+
6+
pip install --upgrade pip
7+
pip install -r requirements.txt
8+
9+
uvicorn opendream.server:app --reload &
510

6-
# Change directory to webapp/opendream-ui and start npm
711
cd webapp/opendream-ui && npm install && npm run start &
812

913
wait

0 commit comments

Comments
 (0)