Before we can see what our new rails app can do, we need to do some more set up. First, let's create our app's database. Do this from the command line with:
rails db:create
You should see some output like this:
Created database 'task_manager_development'
Created database 'task_manager_test'
Notice how this created two databases.
If instead you saw something like this:
rails aborted!
ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
Since rails uses some JavaScript you may need to install node: $ brew install node
Getting the App Running
Before we can see what our new rails app can do, we need to do some more set up. First, let's create our app's database. Do this from the command line with:
rails db:create
You should see some output like this:
Notice how this created two databases.
If instead you saw something like this:
Since rails uses some JavaScript you may need to install node:
$ brew install node