First, install tower.js.
sudo npm install tower -gThis will give you access to the tower binary.
Clone this repo:
git clone git@github.com:TheHydroImpulse/tower-demo-app.git
cd tower-demo-app
tower install
tower # Run the tower server.# This will generate a nginx.conf for serving static files
# And this will build the static files from each module into a simple bundle.
tower build Run nginx:
sudo nginx -c nginx.confRun the production server:
tower server --productionOr with NODE_ENV
NODE_ENV=production towerMIT