This document outlines the details of collaborating on this Ember application.
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
- Create a .env file with
export apiKey=
+ the aws key for uploads - Run
source .env
before serving the app
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
The Submit-UI app automatically deploys on Netlify. The production URL deploys from the master
branch, but it is also possible to view a live site for other branches. The URL for non-master branches is https://
+ branch-name + --mod.netlify.com
, where you would insert the name of the branch you'd like to view before --mod.netlify.com
.
Netlify also handles redirects and environment variables for the app. The .netlifyredirects file is integrated into the built app by the ember-cli-netlify Ember addon. Environment variables saved directly on Netlify provide keys for AWS that are necessary for file upload