Skip to content

Commit c419202

Browse files
authored
deployment scripts changes (#778)
Signed-off-by: mosesokemwa <[email protected]>
1 parent 6ab22b2 commit c419202

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

scripts/setup_server.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ sudo yarn --cwd ~/wikonnect/server postinstall
33
sudo yarn --cwd ~/wikonnect/server db:init
44

55
# TODO: Find a long term fix for this
6+
sleep 5
67
rm -rf server/public/h5p/frontend
78
mkdir server/public/h5p/frontend
8-
cp -r frontend/dist/h5p/ server/public/h5p/frontend
9+
cp -r frontend/dist/h5p/ server/public/h5p/frontend

scripts/start_server.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
2-
sudo ufw allow 22
2+
33
cd ~/wikonnect/server/
44
pm2 startOrReload ecosystem.config.js

0 commit comments

Comments
 (0)