* Move frontend doc [ci skip] * Fix DEV styling [ci skip] * Update table of contents [ci skip] * Move stuffs around [ci skip] * Move stuffs around [ci skip] * Add gitdocs integration * Mess with title again [ci-skip] * Add root readme back in * Update docs/readme as a new readme * Messing with title again * Add where to get help [ci skip] * Fix dev connect link [ci skip] * Move how to get help [ci skip] * Add TODO to empty headers * Add more TODOs and clean up a link * Add sloan * Update prereqs to specify we use macOS * Add gitdocs build to test on Netlify * Update README [ci skip] * Add .gitdocs_build/ to .gitignore [ci skip] * Create netlify.toml * Update docs with logo and more docs * Update gitdocs name * Add redirects for netlify * Remove extraneous redirects from netlify * Add more README TODOs [ci skip] * Update root directory of gitdocs * Move ISSUE_TEMPLATE to .github/ [ci skip] * Testing new base for netlify * Update README [ci skip] * Rename index.md to readme.md for GitHub * Move gitdocs.json to docs folder * Add GPL LICENSE [ci skip] * tweak readme * update license language * Update FAQ with some Q and A * Add some traffic control for docs readme * add license faq and core team members * Add new line to fix list * Add AGPL-3 Adding the GNU AFFERO GENERAL PUBLIC LICENSE. * Update GPL License * Additional documentation for PostgreSQL setup
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.
Note -
- 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.