ActiveRecord::NoDatabaseError
Sounds like you haven't run your DB migrations.
You need to do a few things to get it setup properly.
Think it's all in this video https://jumpstartrails.com/docs/installation
You need to do a few things to get it setup properly.
Think it's all in this video https://jumpstartrails.com/docs/installation
I've read the docs and watched the Getting Started video but I also had to run a few more steps before errors where gone and I could see the configuration screen:
inside `psql`:
```psql
CREATE ROLE jumpstart WITH CREATEDB CREATEROLE LOGIN;
```
inside `bash`:
```bash
rails db:create:all
rails db:migrate RAILS_ENV=development
rails s
```
inside `psql`:
```psql
CREATE ROLE jumpstart WITH CREATEDB CREATEROLE LOGIN;
```
inside `bash`:
```bash
rails db:create:all
rails db:migrate RAILS_ENV=development
rails s
```
Hello,
A quick follow-up for any other people who stumbled on this problem.
Indeed, the installation video does not mention all that.
What worked for me is to run these commands after the
A quick follow-up for any other people who stumbled on this problem.
Indeed, the installation video does not mention all that.
What worked for me is to run these commands after the
bundle
and yarn
commands:rails db:create # no need to add the ':all', this already creates the required databases 'development' and 'test' rails db:migrate # if you run this locally on your computer, you already are in development, so adding the 'RAILS_ENV=development' produces the same result
Notifications
You’re not receiving notifications from this thread.