@robgietema/generator-nick 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/generators/app/index.js
CHANGED
|
@@ -117,9 +117,9 @@ Done.
|
|
|
117
117
|
|
|
118
118
|
Now install and run Postgres and setup the database by entering the following in your Postgres console:
|
|
119
119
|
|
|
120
|
-
$ CREATE DATABASE ${this.globals.projectName};
|
|
121
|
-
$ CREATE USER
|
|
122
|
-
$ GRANT ALL PRIVILEGES ON DATABASE ${this.globals.projectName} TO ${this.globals.projectName};
|
|
120
|
+
$ CREATE DATABASE "${this.globals.projectName}";
|
|
121
|
+
$ CREATE USER "${this.globals.projectName}" WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
|
|
122
|
+
$ GRANT ALL PRIVILEGES ON DATABASE "${this.globals.projectName}" TO "${this.globals.projectName}";
|
|
123
123
|
|
|
124
124
|
Now go to the ${this.globals.projectName} folder and run:
|
|
125
125
|
|
|
@@ -133,9 +133,9 @@ Done.
|
|
|
133
133
|
|
|
134
134
|
Now install and run Postgres and setup the database by entering the following in your Postgres console:
|
|
135
135
|
|
|
136
|
-
$ CREATE DATABASE ${this.globals.projectName};
|
|
137
|
-
$ CREATE USER
|
|
138
|
-
$ GRANT ALL PRIVILEGES ON DATABASE ${this.globals.projectName} TO ${this.globals.projectName};
|
|
136
|
+
$ CREATE DATABASE "${this.globals.projectName}";
|
|
137
|
+
$ CREATE USER "${this.globals.projectName}" WITH ENCRYPTED PASSWORD '${this.globals.projectName}';
|
|
138
|
+
$ GRANT ALL PRIVILEGES ON DATABASE "${this.globals.projectName}" TO "${this.globals.projectName}";
|
|
139
139
|
|
|
140
140
|
Now go to the ${this.globals.projectName} folder and run:
|
|
141
141
|
|