Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 22 lines (17 sloc) 0.444 kb
a8ac6556 » ottok
2012-05-30 Added helper scripts for starting and updating an installation.
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
3cbc6ca5 » ottok
2012-06-15 Added node environment varible dev in readme and startup scripts.
20 NODE_ENV=prod gnome-terminal -x node server.js
a8ac6556 » ottok
2012-05-30 Added helper scripts for starting and updating an installation.
21
22 echo "Running. Open in a browser http://localhost:8080/"
23
24
Something went wrong with that request. Please try again.