A service for sending SMS (and possibly emails in the future)
-
Setup Github credentials (for fetching private dependencies)
- Create a Github Personal Access Token
- Define environment variables with your credentials (e.g.,
~/.zprofile,~./zprofile)export GITHUB_ACTOR=<your github username> export GITHUB_TOKEN=<personal access token>
-
Install appropriate version of java (or use
asdf) -
Set up pre-commit hook to apply formatting:
./gradlew addKtlintFormatGitPreCommitHook
-
Copy
app/src/main/resources/application.properties.sampletoapp/src/main/resources/application-dev.properties.
- Run
docker-compose upto fire up redis. - Use
./gradlew bootRunto fire up the app.
We are using ktlint to format the project.
To check that the project conforms to the style guide you can run:
./gradlew ktlintCheckTo apply formatting, run:
./gradlew ktlintFormatPress cmd + opt + L to have IntelliJ apply formatting.
You can configure Actions on Save (under Settings > Tools) to "Reformat code" automatically as you work.
Our custom formatting rules are defined in .editorconfig.