Open pavankat opened 6 years ago
Hey @pavankat just rename the file sample.env in the repo to .env and you can include your secrets in there...
Quick question for you, if you added postgres to the config/secrets.js how did you get your URL? to replace for example 'postgres://yhnavein:123@127.0.0.1/prod';
on line 143 in config/secrets.js
Could you also explain anywhere else you added postgres credentials?
Thanks! 😀
is this URL mean postgres://user:password@localhost/db_name? clearly no local user yhnavein, sorry not the best with postgres + sequelize!
Got this all working fine now. If the db gives anyone else trouble at first just change the 'postgres://yhnavein:123@127.0.0.1/prod';
to 'postgres://@localhost:5432/prod'
for running local in dev and then run createdb prod
, start postgreSQL servers and you can connect to the db on port 5432
I updated the secrets file with my postgres credentials.
However, I get a warning when starting up the app. Any ideas? It works.