This is a book-tracking application built with Elixir and Phoenix
If you do not have either of these currently installed, follow the links for installation instructions.
- Clone this repository
- In the root directory:
mix deps.get
mix ecto.create
mix ecto.migrate
mix run priv/repo/seeds.exs
This application uses Ueberauth for authentication through Slack. In order to authenticate locally:
- Create a file called
dev.secret.exsinconfig/ - Generate a Client ID and Client Secret through Slack
- Under OAuth & Permissions (on Slack) add a Redirect URL. ex:
http://localhost:4000/auth/slack/callback - Add your secret keys to
dev.secret.exs. Your file should look like this:
use Mix.Config
config :ueberauth, Ueberauth.Strategy.Slack.OAuth,
client_id: "CLIENT ID",
client_secret: "CLIENT SECRET"
Start the server:
mix phoenix.server
Open http://localhost:4000 in your browser
mix test