Commit 12b89c112b20cdf2aef4454f6c59cd52a630d9d8
add docker postgres scripts to package.json
Michael Williams committed on 1/8/2016, 3:16:58 AMParent: 7565f0a3a2bb8400488b3acd6395b0306df1c5df
Files changed
package.json | changed |
package.json | ||
---|---|---|
@@ -8,8 +8,14 @@ | ||
8 | 8 | "format": "snazzy --format", |
9 | 9 | "test": "npm-run-all -p test:*", |
10 | 10 | "test:spec": "node app/spec", |
11 | 11 | "test:feature": "node app/features", |
12 | + "pg:pull": "docker pull postgres", | |
13 | + "pg:run": "docker run -d -p 5432:5432 --name=business-postgres postgres", | |
14 | + "pg:start": "docker start business-postgres", | |
15 | + "pg:stop": "docker stop business-postgres", | |
16 | + "pg:rm": "docker rm business-postgres", | |
17 | + "pg:logs": "docker logs business-postgres", | |
12 | 18 | "dev:render-browser": "BABEL_ENV=hot watchify app/render -o build/bundle.js -dv -p browserify-hmr", |
13 | 19 | "dev:render-node": "node-dev render", |
14 | 20 | "dev:assets": "cpx \"app/assets/**/*\" build -w", |
15 | 21 | "dev:livereload": "wtch -d build -e html,css,png,gif,jpg | garnish --level debug", |
Built with git-ssb-web