Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.34 KB

File metadata and controls

37 lines (23 loc) · 1.34 KB

Work Requirements Self Advocacy Tool

Setup

If it's your first time setting up for local development, you will need to have the following installed:

  1. In the root directory of this project, run the setup script:

    $ ./bin/setup

  2. Navigate to http://localhost:3000. You should see your app!

Running the application subsequently

  1. In the root directory of this project, run the dev script:

    $ ./bin/dev

Running the Linter

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.

Testing emails

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