Besides Ruby, Rails, and Bundler, make sure you have these:
- PostgreSQL
brew install postgresql
- CockroachDB
brew install cockroachdb/tap/cockroach
- CockroachDB certificate (Discord)
- Redis
brew install redis
After cloning and setting up the repo, run
bundle install
Install Foreman (Not in Gemfile):
gem install foreman
Start the Rails server, Redis, and workers with:
foreman start
To launch CockroachDB SQL, run:
cockroach sql --url 'postgres://[email protected]:26257/defaultdb?sslmode=verify-fullsslrootcert=< certs_directory >/freeflow-main-ca.crt'