InventorForge App
- Install dependencies
npm install -g ionic@beta
npm install -g typings
npm install -g gulp-cli
npm install
typings install
- Build
ionic build
gulp compile-server
- Serve
ionic serve
gulp server
- Start the server
node server/server.js
- Access the page
(http://localhost:8080/index.html)
The main configuration is stored in the configuration files in the config/
directory. Which file is used depends on the value of the NODE_ENV
environment
variable. (i.e. setting NODE_ENV
to "production" uses the production.json
file.
The default environment is "development".
Configuration can also be specified via command line argument or environment variables. See nconf for information on how these are set.
Note: By default serial:disable
is set to true
in development. To use on a
sign locally, this must be set to false and serial:port
and other options set
appropriately.