4 Commits

Author SHA1 Message Date
gitea d9fbf77aa1 moved sync to initial_tasks prevent race conditions 2016-02-02 20:35:49 +08:00
DC* b4d3eab02c Heroku integration with foreman
Add foreman configuration for Heroku:
- To test production configuration execute NODE_ENV=production foreman
  start
- Database connection configuration now handles "use_env_variable" which
  should be defined as a environment variable such as "DATABASE_URL"
  with a proper database URI connection string, ie:
  postgres://user:password@db.example.com:5432/database
- Added package.json configuration to run migrations and db seed after
  `npm install`

Update frontend models to match sequelize definition.
Update views to work according to the changes above.
Handling isCompleted and parentId apropiately for PostgreSQL databases
2014-08-14 22:05:54 -03:00
DC* ebab3b60a8 Changed configuration parameters' names to match sequelize nomemclature
Fixed seed/initial_tasks data which created tasks in a non-sequential order (tested on Postgres)
Added production-like example configuration
2014-08-08 00:47:38 -03:00
DC* 6faeab4b0b Initial Sequelize integration.
Added orm module to abstract Sequelize usage to some degree. ORM module
handles the configuration and instantiation of Sequelize. Models are
defined and instantiated from models/*

Tested only against SQLite.

Faily new to nodejs so I probably messed up with something.
2014-01-12 01:47:34 -03:00