- sbt
- docker
- docker-compose
- make (optional, but very useful)
git clone git@github.com:TeamWanari/tutelar.gitcd tutelarmake up(if you don't have make:docker-compose -f docker-compose.dev.yml -p tutelar up -d)sbt run- open TEST PAGE
https://lvh.me:9443/index.html
You have to add the providers configs to .env file (or create the .env file if not exists yet)
TODO: how to get GitHub/Google/Facebook/Microsoft OAuth2 credentials
GITHUB_CLIENT_ID=REPLACE_IT
GITHUB_CLIENT_SECRET=REPLACE_IT
GOOGLE_CLIENT_ID=REPLACE_IT
GOOGLE_CLIENT_SECRET=REPLACE_IT
FACEBOOK_CLIENT_ID=REPLACE_IT
FACEBOOK_CLIENT_SECRET=REPLACE_IT
MICROSOFT_CLIENT_ID=REPLACE_IT
MICROSOFT_CLIENT_SECRET=REPLACE_IT
And add this line too:
MODULES_ENABLED=health,basic,email,ldap,totp,facebook,google,github,microsoft
sbt runstart the application on port 9000sbt testrun testssbt it:testrun integration testssbt fmtformat all filessbt "; project docs ; previewAuto"run documentation site on port 4000
make upstart dependency servicesmake stopstop dependency servicesmake downstop dependency services and delete all persisted datamake psqlopen the postgres database consolemake mongoopen the mongodb consolemake rundocsrun documentation site on port 4000
This services starting when you hit make up
- postgres
- mongodb
- openldap
- rabbitmq
- mailhog (smtp mock server with ui)
- jaeger (tracer service for logs)
- nginx (reverse proxy for custom local domains + hosting the test client page)
- TEST PAGE
https://lvh.me:9443/index.html - SMTP MOCK UI
http://mailhog.lvh.me:8080 - TRACER
http://jaeger.lvh.me:8080 - RABBITMQ
http://rabbitmq.lvh.me:8080
| Application | PORT |
|---|---|
| ReverseProxy | 9443 |
| ReverseProxy | 8080 |
| Database | 5432 |
| LDAP | 389 |
| SMTP mock UI | 8025 |
| Jaeger UI | 16686 |
| Jaeger | 5775 |
| Jaeger | 6831 |
| Jaeger | 6832 |
| Jaeger | 5778 |
| Jaeger | 16686 |
| Jaeger | 14268 |
| Jaeger | 9411 |
| RabbitMQ UI | 15672 |
| RabbitMQ | 5672 |