Code Monkey home page Code Monkey logo

Comments (5)

ArisNance avatar ArisNance commented on July 17, 2024 2

from socify.

scaffeinate avatar scaffeinate commented on July 17, 2024

@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.

scaffeinate avatar scaffeinate commented on July 17, 2024

@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.

 avatar commented on July 17, 2024

thanks guys it worked! had psql set up wrong. found another bug tho i think gonna post new thread

from socify.

scaffeinate avatar scaffeinate commented on July 17, 2024

@jrenna100 Cool. I am closing this issue :)

from socify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.