Files
org-notes/maker-test.org
2023-08-16 10:35:31 -04:00

1.1 KiB

Experimenting with Maker

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 ExDocs - Up and Running
  4. Followed the link to the 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 :)