change database name

This commit is contained in:
Bilal Catic
2019-05-23 18:58:17 +02:00
parent c7c7957c8a
commit 2ff4e4ae8a
3 changed files with 11 additions and 7 deletions

View File

@@ -7,10 +7,10 @@
"test": "echo \"Error: no test specified\" && exit 1",
"install-server": "npm install",
"install-client": "cd client && yarn install",
"docker-build": "docker build -t psychology .",
"docker-start": "docker run -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=psychology --name pg_psychology -d -p 5432:5432 psychology",
"docker-stop": "docker stop pg_psychology",
"setup": "npm run install-server && npm run install-client && npm run docker-build && npm run docker-start && npm run migrate",
"docker-build": "docker build -t simaspace .",
"docker-start": "docker run -e POSTGRES_USER=docker -e POSTGRES_PASSWORD=docker -e POSTGRES_DB=CrmIntegration --name pg_simaspace -d -p 5432:5432 simaspace",
"docker-stop": "docker stop pg_simaspace",
"setup": "npm run install-server && npm run install-client && npm run docker-build && npm run docker-start && sleep 2 && npm run migrate",
"migrate": "npx sequelize db:migrate",
"start-server": "nodemon server.js",
"start-client": "cd client && yarn start",