Make sure Erlang, Elixir and ImageMagick are installed
- Create a file dev.secret.exs in the "config" directory with this content
use Mix.Config
config :ueberauth, Ueberauth.Strategy.Github.OAuth,
client_id: "github client id",
client_secret: "github client secret"
config :portfolio,
accepted_user_email: "email address separated by a space"- Start postgres using docker
$ docker-compose up -d- Setup the project
$ mix setup- Start Phoenix endpoint
$ iex -S mix phx.serverNow you can visit localhost:4000 from your browser.
Release are done using github actions
SECRET_KEY_BASE: secret used by phoenix, generate it using mix phx.gen.secretDATABASE_URL: database url used by ecto. ex => ecto://[user]:[password]@localhost/[database name]GITHUB_CLIENT_ID: Your github client id to allow social loginGITHUB_CLIENT_SECRET: Your github client secret to allow social loginACCEPTED_USER_EMAIL: authorized email address that can registerSTORAGE_DIR: Path to the directory where you want to save your uploads