DEV Community

Discussion on: dev.to open source help/discussion thread (v0)

Collapse
 
gate3 profile image
Doyin Olarewaju 🇳🇬🇨🇦 • Edited

Trying to setup the project for the first time and i keep getting this error when i run bin/setup.

Any help will be greatly appreciated thanks.
@zhao-andy

Collapse
 
andy profile image
Andy Zhao (he/him)

Hmm, do you have your environment variables set up properly, with the correct syntax? Your application.yml should look like this:

SOME_KEY: "some_value_for_api_key"
SOME_KEY: "some_value_for_api_key"
SOME_KEY: "some_value_for_api_key"
SOME_KEY: "some_value_for_api_key"

Make sure you're using double quotes for the values, and that your keys have no quotes. There should also only be a colon and space in between the two.

Collapse
 
gate3 profile image
Doyin Olarewaju 🇳🇬🇨🇦

Thanks that worked