CSCE-606-Event360 / CastNXT

1 stars 2 forks source link

Configure the docker and make it work #2

Closed Rohith-Yogi closed 11 months ago

Rohith-Yogi commented 1 year ago

Feature: deploy CastNXT to Heroku. Fix the database and make sure sign up and login functions are functioning. As user at the sign up or login page I want to signup or login So that an account can be created or I’m logged into my existing account

Rohith-Yogi commented 1 year ago
    development:
      clients:
        default:
          database: castnxt_development
          hosts:
            - localhost:27017
          options:
            user: 'root'
            password: 'example'
            auth_source: admin
            server_selection_timeout: 30
Rohith-Yogi commented 1 year ago
    sudo mongod &
    sudo netstat -antop | grep mongo
    rails db:migrate RAILS_ENV=development
    db.createUser(
      {
        user: "root",
        pwd: "example",
        roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
      }
    )