Skip to content
GitHub no longer supports this web browser. Learn more about the browsers we support.
A discussion (Forum) web application built on Elixir/Phoenix(1.2)
Elixir JavaScript Erlang HTML CSS
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.elixir_ls modifying readme Jan 18, 2020
config Fixing OAuth Jan 18, 2020
lib
priv
test Adding Postgres Jan 6, 2020
web adding websockets and comments Jan 9, 2020
.gitignore Fixing OAuth Jan 18, 2020
README.md Fixing OAuth Jan 18, 2020
brunch-config.js Adding Postgres Jan 6, 2020
mix.exs Handling Authentication with OAuth Jan 7, 2020
mix.lock
package-lock.json
package.json Adding Postgres Jan 6, 2020

README.md

Discuss

This a web application built on Elixir/Phoenix(1.2)

Make sure to download the Phoenix 1.2 version

Before running this Phoenix app:

  • Modify the config/dev.exs
config :discuss, Discuss.Repo,
adapter: Ecto.Adapters.Postgres,
username: "",
password: "",
database: "",
hostname: "",
port: 5432,
pool_size: 10
  • Make sure to create a Github Application (This app uses OAuth Login with Github) and modify config/config.exs
config :ueberauth, Ueberauth,
providers: [
  github: { Ueberauth.Strategy.Github, [default_scope: "user,user:email,public_repo"] }
]
config :ueberauth, Ueberauth.Strategy.Github.OAuth,
client_id: "",
client_secret: ""

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

You can’t perform that action at this time.