This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
- Open directory and type:
sudo npm install -g ember-cli - After installation, create the project with the command:
ember new ember-PROJECTNAME. Typically I appendemberon the front of each project because many times it's not the only utility in the project itself. For example you could easily also havedjango-PROJECTNAMEas a backend to your ember project. - Browse to you new project directory, and type:
ember s(short forember serve, both will work). - Open your favorite browser and go to localhost:4200/, you've just created your first ember project.
- Side note: if you're doing test-driven development or plan to write unit tests, also try to check out your stubbed out tests at localhost:4200/tests. Ember has built-in unit testing functionality.
- Use the command:
ember g route calenderto create a calendar route. Note this takes the form ofember g(generate) route(type of file generating) calendar(name of file). - This will add the following files:
- /app/routes/calendar.js
- /app/templates/calendar.hbs
- /test/unit/routes/calendar-test.js
- It also edits the /app/router.js to include the new route you just created.
You will need the following things properly installed on your computer.
git clone <repository-url>this repository- change into the new directory
npm installbower 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 testember test --server
ember build(development)ember build --environment production(production)
Specify what it takes to deploy your app.