-
-
Save ds0nt/5123bb7f55e9bcb9beb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bullshit ^ is not the working directory | |
BASE=/home/ubuntu/src/github.com/kloudsio/klouds.io | |
WWW=$BASE/www | |
CLIENT=$BASE/client | |
SERVER=$BASE/server | |
# | |
# build the web client | |
# | |
cd $CLIENT | |
mkdir -p "$WWW" | |
cp -rvu $CLIENT/src/public/* $WWW | |
npm install | |
npm install -g babel browserify myth watchify envify | |
# transpile client | |
./scripts/deku-wrap.sh | |
browserify -v -d src/app.js -t babelify -t envify -o $WWW/app.js | |
myth src/styles/app.css $WWW/app.css | |
# | |
cd $SERVER | |
npm install | |
cd $BASE | |
npm install koa koa-static unruly debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment