Skip to content

Commit db6d5d3

Browse files
committed
Remove hard-coded password
1 parent fe048fa commit db6d5d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ You will be welcomed with the postgres prompt. Now, create the geofeatures datab
1919
```
2020
CREATE DATABASE geofeatures;
2121
\c geofeatures;
22+
23+
CREATE USER frontend PASSWORD your_password_here;
2224
```
2325

2426
Next, load the database schema:
@@ -36,7 +38,7 @@ GRANT ALL PRIVILEGES ON DATABASE geofeatures TO frontend;
3638
Then, make sure the environment variable for the newly-created user is set:
3739

3840
```
39-
export FEATURES_CONNECTION_STRING='postgres://frontend:[euro4sure]@127.0.0.1/geofeatures'
41+
export FEATURES_CONNECTION_STRING='postgres://frontend:your_password_here@127.0.0.1/geofeatures'
4042
export PORT=3035
4143
```
4244

schema.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
CREATE USER frontend PASSWORD '[euro4sure]';
2-
31
CREATE EXTENSION postgis;
42

53
------------------------------------------------------------------------------

0 commit comments

Comments
 (0)