npm run test:watch
npm start
npm run start:debug
npm test
npm run test:debug
Let's Try This:
|-- app
| |-- controllers
| |-- models
| |-- views
| `-- client
| `-- browser
| |-- controllers
| |-- models
| |-- views
| `-- mobile
| |-- controllers
| |-- models
| |-- views
`-- config
`-- lib
`-- spec
`-- vendor
https://gist.github.com/viatropos/1398757 for more
Sequelize might give us the tools that we need to set up a database in code, but it's possible that we'll need to do migrations manually.
Here's how the manual approach could work:
- Create a
.sql
file in/db/
psql -d {dbname} -a -f db/{filename}.sql
Currently, you must set up the session table manually:
psql -d {dbname} -a -f node_modules/connect-pg-simple/table.sql
Some templates are used client-side too and currently must be
compiled manually. e.g. jade --client --no-debug app/views/posts/post.jade