Skip to content

neotoma/ember-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ember-server

Codeship badge Code Climate Code Climate issues badge David badge

This repository contains the source code for an Ember app server.

Setup

The following environment variables are managed by Park Ranger:

  • EMBER_SERVER_APP_DIR: System path to Ember app directory (e.g. /var/www/my-ember-app; required)
  • EMBER_SERVER_HTTP_PORT: Port through which to serve HTTP requests (default 8123)
  • EMBER_SERVER_HTTPS_PORT: Port through which to serve HTTPS requests (default 8124)
  • EMBER_SERVER_FASTBOOT: Whether to serve Ember app with FastBoot (set string true to enable)

Running the server

Once the environment is ready per above, and Node.js with NPM is installed, simply run npm install to install dependencies in the node_modules directory and node index.js to fire the server up.

Developing and deploying the server

Deployment scripts are available through Hoist.