29 lines
1.1 KiB
Org Mode
29 lines
1.1 KiB
Org Mode
#+TITLE: Experimenting with Maker
|
|
#+AUTHOR: Adam Mohammed
|
|
|
|
|
|
* Getting Up and Running
|
|
1. Got =daenerys.zip= from Emi
|
|
2. When you unzip it, it unpacks a k8 and src folder, but this could probably
|
|
exist under a `daenerys/` folder so it doesn't expand unexpectedly
|
|
3. I navigated to [[https://ex-docs.shared-a.sv15.metalkube.net/guides/up-and-running][ExDocs - Up and Running]]
|
|
4. Followed the link to the [[https://ex-docs.shared-a.sv15.metalkube.net/guides/installation][ExDocs - Installation]]
|
|
5. I just run development Postgres instance on my machine, so I had to set PGHOST before running =mix setup= but it worked!
|
|
6. Ran =iex -S mix phx.server= and got prompted with the usual login screen!
|
|
|
|
|
|
* Configuring Auth
|
|
|
|
1. I already had a dev okta account
|
|
2. Created an Application in okta
|
|
1. On the left side-bar click Applications -> Applications
|
|
2. Click "Create App Integration"
|
|
3. Select "OIDC - OpenID Connect" for Sign-in method
|
|
4. Select "Web Application" for Application type
|
|
3. Set environment variables in .env
|
|
1. OKTA_CLIENT_ID
|
|
2. OKTA_CLIENT_SECRET
|
|
3. OKTA_SITE
|
|
4. Source the environment variables.
|
|
5. It works :)
|