git clone git@github.com:geoffreyp/KanbanJS.git
npm install
bower install
Create config/config.json with correct database value:
{
"development": {
"username": "root",
"password": "null",
"database": "database_dev",
"host": "127.0.0.1",
"dialect": "mysql"
},
"test": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "mysql"
},
"production": {
"username": "root",
"password": null,
"database": "database_production",
"host": "127.0.0.1",
"dialect": "mysql"
}
}
The ORM used is Sequelize, it allow you to use a lot of SQL dialect (mysql, postgreSQL, SQLite, mongodb, ...).
npm start
The first time, sequelize create all tables with their relations.