This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
The demo can be found at http://editor.womenandtech.com/editor.
You will need the following things properly installed on your computer.
git clone https://github.com/WomenAndTech/editor.git
- change into the new directory
npm install
bower install
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)
Our deployment setup employs a git repo on production server that will execute a post-receive hook (see example gist) to deploy the code to the working directory.
run...
git push production
to push code to production. This means you should have setup a git repo on your remote production server, in addtion to using one on GitHub or other service to distribute amongst your team.
The code will then run the post-receive
git hook which will update the files, run npm install
and bower install
to get all the required dependencies, then run ember build --environment=production
to get our production build up and running. Production files will be deployed to /dist
folder of the directory - which is where your webserver should be serving the static site files from. See this for an example nginx config file.