* Rename and add addl postgres setup * Update ToC for docs/readme * Add links + enrich license FAQ page (#671) - Added brief "intro" section at the top - Added back in links that were lost in copy/paste over * Nick/task/update front end docs [skip ci] * Clarify that each step is an or * issue/pr templates * Remove broken redirect from netlify * Attempt to add redirects for Netlify * Try to fix redirects for Netlify * Added more redirects for netlify * Fix redirects to use splat keyword * Testing placeholder instead of splat * add product roadmap * Change doc contribution instructions * Add notice at bottom
1.5 KiB
1.5 KiB
Setup your application with PostgreSQL
Follow these links for detailed the installation guide.
You can find all installation packages for different operating systems here.
After installation
- If your Rails app is unable to connect to the PostgreSQL, then update your
database.ymlfile withusernameandpassword.
development:
<<: *default
username: POSTGRESSQL_USERNAME
password: POSTGRESSQL_PASSWORD
test:
<<: *default
username: POSTGRESSQL_USERNAME
password: POSTGRESSQL_PASSWORD
- While running test cases, if you get an error message
postgresql connection timeout. Go to yourspec/support/database_cleaner.rbfile. And rename:truncationwith:deletion.
Notes
- Don't forget to set up your PostgreSQL with
usernameandpassword. - Don't commit your
database.ymlordatabase_cleaner.rbfiles. Or PostgreSQLusernameandpasswordto any repository. - You can use environment variables for storing
usernameandpassword. You can define them inside theapplication.ymlfile.