Browse Source

add server install script

pull/38/head
garritfra 6 years ago
parent
commit
fb61cfbae3
  1. 4751
      package-lock.json
  2. 16
      server.sh

4751
package-lock.json generated

File diff suppressed because it is too large Load Diff

16
server.sh

@ -0,0 +1,16 @@
#!/bin/bash
echo "installing dependencies"
npm i
echo "building site"
npm run build
echo "copying to apache folder"
cp -r ./dist /var/www
echo "stopping apache2""
service apache2 stop
echo "starting apache2"
service apache2 start
Loading…
Cancel
Save