Comments (5)
from socify.
@jrenna100 Have you changed config/database.yml to support postgres? Here is an example:
development:
adapter: postgresql
encoding: unicode
database: [dev_dbname]
host: localhost
pool: 5
username: [dbusername]
password: [dbpassword]
test:
adapter: postgresql
encoding: unicode
database: [test_dbname]
host: localhost
pool: 5
username: [dbusername]
password: [dbpassword]
production:
adapter: postgresql
encoding: unicode
database: [prod_dbname]
host: [prod_host]
pool: 5
username: [dbusername]
password: [dbpassword]
Replace the above values with your actual credentials.
NOTE: And also move the pg gem into group :development if you wanna use it it development.
from socify.
@ArisNance That looks good 👍 . It's similar but everything is stored in the ENV variables as it's meant to be. @jrenna100 You might wanna use a similar config with the ENV config set for production env. For Development you could just hardcode the the plain credentials as it won't make any difference.
from socify.
thanks guys it worked! had psql set up wrong. found another bug tho i think gonna post new thread
from socify.
@jrenna100 Cool. I am closing this issue :)
from socify.
Related Issues (20)
- Deploy to AWS
- Merge Master changes to Develop HOT 4
- Integrate Real Chat HOT 12
- An old but good Alternative
- Error at signup HOT 11
- Allow upload photo without Album and can comment in photo
- friends and follower. unfollow doesnt work right HOT 6
- Heroku is Down. Move everything to S3.
- Photo Upload Error on Heroku but not development mode HOT 5
- Change Menu Options HOT 2
- AWS Setup and Error HOT 9
- Displaying html in newsfeed HOT 2
- calendar doesnt show own events HOT 1
- Error when i click follow button HOT 1
- Error HOT 23
- Only show create a post on News Feed
- Did not send the confirmation email
- Can`t understand for what created sashes and merit_actions tables in database HOT 1
- Error when logging-in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socify.