If it's your first time setting up for local development, you will need to have the following installed:
- brew (https://brew.sh/)
- git (https://git-scm.com/downloads)
- Docker (https://docs.docker.com/get-docker/)
-
In the root directory of this project, run the setup script:
$ ./bin/setup
-
Navigate to http://localhost:3000. You should see your app!
-
In the root directory of this project, run the dev script:
$ ./bin/dev
To run the linter locally, run the following command: bundle exec standardrb --fix. If you forget to do this, the linter will run when a pull request is opened. To ignore the linter, here is a guide.
To send a test email, you can deploy the application to the development environment and send an email to a verified identity.
- in GitHub, go to Actions > Deploy to AWS
- in the "Run workflow" menu:
- Use workflow from: your branch
- The environment to deploy to: development
- The branch of the infrastructure repository to deploy: main
- when the deploy is finished, go to the deployed development environment and trigger your email
- you can use the GBH eng team's google group email, it is verified