Intended Link, built in Elixir Phoenix.
Go to file
Silas 67b307612d
let splash container not sit over logo, and also testing merge commit signing
2022-02-24 22:18:58 -05:00
.vscode fix file uploads, serve them properly, put behind auth wall, decrypt secret message in frontend 2022-02-22 00:16:51 -05:00
assets let splash container not sit over logo, and also testing merge commit signing 2022-02-24 22:18:58 -05:00
config force ssl 2022-02-24 01:41:14 -05:00
lib better desktop styling, change some wording 2022-02-24 11:32:00 -05:00
priv change local file upload location 2022-02-24 02:09:40 -05:00
test write first test and let changeset errors return error json in controller 2021-12-02 22:45:39 -05:00
.buildpacks add back in buildpacks but take out releases and netrc 2021-11-26 20:33:50 -05:00
.formatter.exs initial commit 2021-08-18 12:37:02 -04:00
.gitignore change local file upload location 2022-02-24 02:09:40 -05:00
.tool-versions initial commit 2021-08-18 12:37:02 -04:00
Dockerfile get started on route for creating links, dividing steps into components 2021-08-19 22:35:12 -04:00
README.md better install instructions 2021-11-12 20:26:28 -05:00
deployment.yaml get started on route for creating links, dividing steps into components 2021-08-19 22:35:12 -04:00
elixir_buildpack.config add cache clear 2021-11-26 20:36:32 -05:00
mix.exs add waffle library, handle file upload, authenticate user with oauth and see if they have the link's email associated to their account 2022-02-13 00:20:21 -05:00
mix.lock add waffle library, handle file upload, authenticate user with oauth and see if they have the link's email associated to their account 2022-02-13 00:20:21 -05:00
phoenix_static_buildpack.config add cache clear 2021-11-26 20:36:32 -05:00

README.md

Entendu

To start your Phoenix server:

  • (optional) Install 'ASDF' along with the 'Erlang', 'Elixir', and 'Node' plugins
  • (optional) Run asdf install. Now this project will always use the correct erlang/elixir/node/npm versions.
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with npm install inside the assets directory
  • Run mix phx.gen.cert to use HTTPS during development, required for OAuth
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Setting up OAuth

Add the OAuth providers you'll be using to the providers array.

use Mix.Config
config :ueberauth, Ueberauth,
  providers: [
    github: {Ueberauth.Strategy.Github, []}
  ]

You'll need to visit each provider's site and set up OAuth. This usually entails creating an OAuth App to generate a client_id, and generating a client_secret. Then create a dev.secret.exs file in your config folder and add your client_id & secret to your provider's ueberauth config.

config :ueberauth, Ueberauth.Strategy.Github.OAuth,
  client_id: "some_client_id",
  client_secret: "some_secret_key"