molokhovdmitry commited on
Commit
05b454e
1 Parent(s): 4c527f1

Create vm_startup.sh

Browse files
Files changed (1) hide show
  1. vm_startup.sh +6 -0
vm_startup.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ # Script for the automatic startup on a virtual machine.
2
+ . /home/user/python_venv/social-stat/bin/activate
3
+ cd /home/user/social-stat
4
+ git pull
5
+ pip install -r requirements.txt
6
+ uvicorn src.main:app --host 0.0.0.0 --port 8000 > /home/user/log.txt 2>&1