Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 25 lines (17 sloc) 0.444 kb
a8ac655 Otto Kekäläinen Added helper scripts for starting and updating an installation.
ottok authored
1 #!/bin/sh
2 echo "Starting library directory server in production mode"
3
4 # abort on errors
5 set -e
6
7 # print commands before execution
8 set -x
9
10 # Build static
11 cd css
12 lessc style.less > style.css
13 cd ..
14 h5bp
15
16 # start servers
17 gnome-terminal -x elasticsearch/bin/elasticsearch -f
18 sleep 12 # wait for ES to come up
19 gnome-terminal -x node proxy.js
3cbc6ca Otto Kekäläinen Added node environment varible dev in readme and startup scripts.
ottok authored
20 NODE_ENV=prod gnome-terminal -x node server.js
a8ac655 Otto Kekäläinen Added helper scripts for starting and updating an installation.
ottok authored
21
22 echo "Running. Open in a browser http://localhost:8080/"
23
24
Something went wrong with that request. Please try again.