git ssb

1+

dinoworm ๐Ÿ› / catstack



Commit 12b89c112b20cdf2aef4454f6c59cd52a630d9d8

add docker postgres scripts to package.json

Michael Williams committed on 1/8/2016, 3:16:58 AM
Parent: 7565f0a3a2bb8400488b3acd6395b0306df1c5df

Files changed

package.jsonchanged
package.jsonView
@@ -8,8 +8,14 @@
88 "format": "snazzy --format",
99 "test": "npm-run-all -p test:*",
1010 "test:spec": "node app/spec",
1111 "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",
1218 "dev:render-browser": "BABEL_ENV=hot watchify app/render -o build/bundle.js -dv -p browserify-hmr",
1319 "dev:render-node": "node-dev render",
1420 "dev:assets": "cpx \"app/assets/**/*\" build -w",
1521 "dev:livereload": "wtch -d build -e html,css,png,gif,jpg | garnish --level debug",

Built with git-ssb-web