bbqdennisEX commited on
Commit
bce56aa
·
1 Parent(s): 04748c9

-- Added command, ngrok, setup, startup, gitignore

Browse files
Files changed (5) hide show
  1. .gitignore +8 -0
  2. command.sh +5 -0
  3. ngrok.sh +2 -0
  4. setup.sh +12 -0
  5. startup.sh +10 -0
.gitignore ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ # OS X
2
+ .DS_Store
3
+
4
+ *.txt
5
+ *.scpt
6
+ venv
7
+
8
+ __pycache__
command.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ cd python_flask
2
+ python3 -m venv venv
3
+ . venv/bin/activate
4
+ pip3 install -r requirements.txt
5
+ python3 app.py
ngrok.sh ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ #!/bin/bash
2
+ ngrok http 7860
setup.sh ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ script="$0"
3
+ basename="$(dirname "$script")"
4
+ echo "Script name $script resides in $basename directory."
5
+
6
+ # go to the sdk directory first
7
+ cd "${basename}"
8
+
9
+ python3 -m venv venv
10
+ . venv/bin/activate
11
+ pip install --upgrade pip
12
+ pip3 install -r requirements.txt
startup.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ script="$0"
3
+ basename="$(dirname "$script")"
4
+ echo "Script name $script resides in $basename directory."
5
+
6
+ # go to the sdk directory first
7
+ cd "${basename}"
8
+
9
+ . venv/bin/activate
10
+ python3 app.py