- mongodb
- First config your file .env with the keys for trello
TRELLO_KEY=YOUR_KEY TRELLO_SECRET=YOURSECRETKEYGOESHERE
mongod
rails s
- First config your file .env.test with the keys for trello (all call should be stubbed)
rspec
- Angular
- All views should be in the folder /templates/[:resources]/file.html
- The view do not need all layout
- Ruby server: Normally
-
Angular
- Should be in the folder: /assets/javascripts/time_angular/modules/[:resources]/action.js
-
Api controllers
- The controller should be in the namespace api
- You need create the controller with ApiController
-
Server Controllers
- Normally
-
Angular:
- All models should be created with
window.TimeApp = window.TimeApp || {}; var myObject = function(attributes){ attributes ||= {}; this.myAttribute = attributes.myAttribute; //Initializacion this.myFunction = function(){}; } window.TimeApp.myObject = myObject;
- Angular 1.3.7(resources, routes, sanatize, message)
This dependencies are managed with Bower (see: Bowerfile)