In order to develop Beneath on your local machine, you need to setup local installations of its dependencies.
It’s a good idea to run each dependency in a separate tab of a single terminal window.
brew install redis
psqlterminal tab to query the database directly.
Follow this tutorial https://cloud.google.com/sdk/docs/downloads-interactive, but first read this: It creates a folder in the directory from which you run the install commands, so make sure you’re in a folder where you won’t delete it by accident (probably home or documents).
Check that everything installed correctly and that you’re in the
beneath Google Cloud project by running
gcloud projects list (in a new tab). You might also want to check out your
~/.bash_profile to make sure it configured your
gcloud beta emulators pubsub start
gcloud beta emulators bigtable start
configs/.test.envand configure all variables (ask a core team member)
ENV=dev go run cmd/control/main.go
ENV=dev go run cmd/gateway/main.go
ENV=dev go run cmd/pipeline/main.go
ENV=dev go run cmd/taskqueue/main.go
yarn install(if you don’t have
yarninstalled, go here)