Twan07 commited on
Commit
65cc0b9
·
verified ·
1 Parent(s): 7dd794f

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +12 -4
start.sh CHANGED
@@ -1,5 +1,13 @@
1
  #!/bin/bash
2
- git clone https://github.com/TwanAPI/BEupload.git .
3
- go install
4
- pwd
5
- go run main.go
 
 
 
 
 
 
 
 
 
1
  #!/bin/bash
2
+ set -e
3
+
4
+ cd /tmp
5
+
6
+ if [ ! -d BEupload ]; then
7
+ git clone https://github.com/TwanAPI/BEupload.git
8
+ fi
9
+
10
+ cd BEupload
11
+
12
+ go mod download
13
+ go run .