You need to sign in to do that
Don't have an account?

Quick Start: Prepare the App for Local Development
Hi,
I trying to validate trailhead challenge " Quick Start: Prepare the App for Local Development " but when I type the following command
in the command line "DATABASE_URL=`heroku config:get DATABASE_URL` PGSSLMODE=require npm start"
I have an error message saying that the command isn't recognized.
Could you please advise ?
I trying to validate trailhead challenge " Quick Start: Prepare the App for Local Development " but when I type the following command
in the command line "DATABASE_URL=`heroku config:get DATABASE_URL` PGSSLMODE=require npm start"
I have an error message saying that the command isn't recognized.
Could you please advise ?
SET DATABASE_URL=`heroku config:get DATABASE_URL`
SET PGSSLMODE=require
npm start
should get it up and running.
All Answers
SET DATABASE_URL=`heroku config:get DATABASE_URL`
SET PGSSLMODE=require
npm start
should get it up and running.
This should be explained in the trailhead instructions :(
"heroku config:get DATABASE_URL" and setting the resulting value to the DATABASE_URL.. node still crashes when it tries to touch the server.