This Project was inspired by Slack clone built with Phoenix and React
This Project is a Slack clone built with Phoenix and VueJS.
To run the project locally:
Install Elixir
Create api/config/dev.secret.exs
and add the database connection config
with your postgres user info.
Something like:
use Mix.Config
config :sling, Sling.Repo,
username: "your_postgres_user",
password: "your_postgres_password"
Download dependencies
cd api
mix deps.get
Create and migrate the database
mix ecto.create
mix ecto.migrate
Start the server
mix phoenix.server
Install Yarn
Install dependencies
Note that this is /web, not /api/web
cd web
yarn
Start the dev server
npm run dev