NOTE: moved into monorepo at https://github.com/savilabs/launchpad
The Ember.js web application for LaunchPad.
Ensure the following are installed before getting started.
A core dependency of the app is Node.js, which handles the entire build process. The app currently relies upon an older version of Node.js, so follow these steps to install it:
- Install nvm - https://github.com/nvm-sh/nvm#installing-and-updating
- Find the latest ver in the v10 series, at the time it's 10.24.1 -
nvm ls-remote | grep v10 - Install the latest ver in the node v10 series -
nvm install 10.24.1 - Use the version that's just been installed -
nvm use 10.24.1
- Git -
brew install git - Ember CLI -
npm install -g ember-cli@VERSION_IN_PACKAGE_JSON - PhantomJS -
brew install phantomjs - Watchman -
brew install watchman - Firebase Tools -
npm install -g firebase-tools
- Clone the repository:
git clone git@github.com:savilearning/launchpad-ui.git - Move into the app dir:
cd launchpad-ui - Install Node dependencies:
npm install
- Start the server:
ember server - View the app: http://localhost:4200.
Ensure that the API application is running at http://localhost:3090.
Make use of the many generators for code, try ember help generate for more details
- Run the test suite:
ember test - Start the test suite server for running on changes:
ember test --server
npm run lint:jsnpm run lint:js -- --fix
ember build(development)ember build --environment production(production)
When building the app, set FINGERPRINT_ASSETS to 'true' to have
assets be fingerprinted. This allows assets to be fingerprinted on both
Staging and Production via CI ENV config.
TBD