File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 34
34
- ` psql postgres -U admin `
35
35
36
36
- Type this command to creating a new database.
37
- - ` postgres=> CREATE DATABASE sing_app_db ; `
37
+ - ` postgres=> CREATE DATABASE nodejs_backend_db ; `
38
38
39
39
- Then give that new user privileges to the new database then quit the ` psql ` .
40
- - ` postgres=> GRANT ALL PRIVILEGES ON DATABASE sing_app_db TO admin; `
40
+ - ` postgres=> GRANT ALL PRIVILEGES ON DATABASE nodejs_backend_db TO admin; `
41
41
- ` postgres=> \q `
42
42
43
43
###### 4. Run db migrations and seeds:
44
- - ` sequelize db:migrate && sequelize db:seed:all `
44
+ - ` sequelize db:migrate && sequelize db:seed:all `
45
+
46
+ ------------
47
+
48
+ ##### Start development build:
49
+ - ` yarn start:dev `
50
+
51
+ ##### Start production build:
52
+ - ` yarn start `
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module.exports = {
2
2
development : {
3
3
"username" : "admin" ,
4
4
"password" : "admin_pass" ,
5
- "database" : "sing_app_db " ,
5
+ "database" : "nodejs_backend_db " ,
6
6
"host" : "127.0.0.1" ,
7
7
"dialect" : "postgres"
8
8
} ,
You can’t perform that action at this time.
0 commit comments