tidepool-org/blip — pull request #7 by nicolashery (2014-02-15 12:06:43+00:00)
Title: Use compiled assets when deploying with shio

I'd like to use the production build (created with `gulp`) for deployment. The `develop.js` script is really only meant to be used for local development.

@cheddar Do you mind taking a look at this and if it looks ok deploying it?

@bewest This should close your #5, I changed `server.js` so port is set through the `PORT` environment variable, and the static dir served uses `__dirname` so should work from anywhere.

Changes:

- Add `tidepoolplatform.js` to build process
- Modify `server.js` to run on other port values
- Add build step and run static connect server in shio scripts