Commit 4e75897c4222c98315e01b7c54934b93a605ebce
docs
Michael Williams committed on 1/8/2016, 4:34:00 AMParent: e31d778be91a7da083273e61402678c7acdc03ea
Files changed
README.md | changed |
README.md | ||
---|---|---|
@@ -9,10 +9,10 @@ | ||
9 | 9 | - task runner: [npm scripts](http://substack.net/task_automation_with_npm_run) |
10 | 10 | - client bundler: [browserify](https://github.com/substack/browserify-handbook) |
11 | 11 | - es6/jsx transform: [babelify](https://www.npmjs.com/package/babelify) |
12 | 12 | - css transform: [cssify](https://www.npmjs.com/package/cssify) and [css-modules-require-hook](https://www.npmjs.com/package/css-modules-require-hook) |
13 | - - configuration: [evalify](https://www.npmjs.org/package/evalify) | |
14 | 13 | - bulk require: [bulkify](https://www.npmjs.org/package/bulkify) |
14 | +- configuration: [simple-rc](https://www.npmjs.org/package/simple-rc) | |
15 | 15 | - utility functions: [ramda](http://ramdajs.com/docs/) |
16 | 16 | - directory structure: |
17 | 17 | - `/config/` |
18 | 18 | - `/config/defaults.js` |
@@ -95,4 +95,16 @@ | ||
95 | 95 | - to start db, run `npm run pg:start` |
96 | 96 | - to stop db, run `npm run pg:stop` |
97 | 97 | - to remove db, run `npm run pg:rm` |
98 | 98 | - to show db logs, run `npm run pg:logs` |
99 | + | |
100 | +run latest migrations with | |
101 | + | |
102 | +```shell | |
103 | +npm run knex -- migrate:latest | |
104 | +``` | |
105 | + | |
106 | +or run [any other `knex` command] with `npm run knex -- [command] [args]` | |
107 | + | |
108 | +## known issues | |
109 | + | |
110 | +- adding a new file won't always be noticed by `node-dev` or `watchify` due to usage of `bulk-require`). potential fix is to use `chokidar-cli` and some transform to watch for new files and re-run the script command |
Built with git-ssb-web