rbenv install 2.5.3)
Please refer to their installation guide.
For additional configuration, click here
git clone https://github.com/<your-username>/dev.to.git
gem install bundler
gem install foreman
Setup your database
config/database.ymlby copying from the provided template (i.e.
cp config/database.yml.sample config/database.yml)
config/database.yml file if needed.
Set up your environment variables/secrets
Envfile. This file lists all the
ENVvariables we use and provides a fake default for any missing keys. You'll need to get your own free Algolia credentials to get your development environment running.
For any key that you wish to enter/replace:
config/application.ymlby copying from the provided template (ie. with bash:
cp config/sample_application.yml config/application.yml). This is a personal file that is ignored in git.
``` GITHUB_KEY: "SOME_REAL_SECURE_KEY_HERE" GITHUB_SECRET: "ANOTHER_REAL_SECURE_KEY_HERE" ```
ENVvariables on bootup,
enviedgem will alert you with messages similar to
'error_on_missing_variables!': The following environment variables should be set: A_MISSING_KEY..
You do not need "real" keys for basic development. Some features require certain keys, so you may be able to add them as you go.
rbenv: version '<version number>' is not installed (set by /Path/To/Local/Repository/.ruby-version) Solution: Run the command
rbenv install <version number>
If you encountered any errors that you subsequently resolved, please consider updating this section with your errors and their solutions.