Merged PetitTeton webapp with the inventory tracking app; Moved the database configuration out of git and added an example configuration; Added migrations to the mix so that we can easily update the production database and roll back changes to the database (from the command line install migrations [may not be necessary?]:

npm install -g sequelize-cli

To update the database after updating the app from git (on the command line in the webapp base directory):
sequelize db:migrate

To undo the last migrations:
sequelize db:migrate:undo
This commit is contained in:
Wynne Crisman
2016-06-13 11:54:12 -07:00
parent 6592feb97a
commit 0a7cff6672
29 changed files with 537 additions and 27 deletions

View File

@@ -14,20 +14,21 @@
"ejs": "~2.4.1",
"express": "~4.11.1",
"express-session": "~1.0.4",
"morgan": "~1.5.1",
"html": "latest",
"method-override": "~1.0.2",
"moment": "latest",
"morgan": "~1.5.1",
"node-phantom": "latest",
"nodemailer": "~1.0",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"pg": "^4.4.3",
"pg-hstore": "^2.3.2",
"sequelize": "^3.14.2",
"stylus": "~0.42.3",
"swig": "~1.4.2",
"session-file-store": "~0.0.24",
"sequelize": "^3.0",
"sequelize-cli": "^2.4.0",
"serve-favicon": "~2.2.0",
"nodemailer": "~1.0",
"node-phantom": "latest"
"session-file-store": "~0.0.24",
"stylus": "~0.42.3",
"swig": "~1.4.2"
}
}