Skip to content
No description, website, or topics provided.
Elixir HTML JavaScript CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets adjust size of snitch left logo Aug 13, 2019
config force ssl on prod Aug 12, 2019
lib add comments to live_channel_view.ex Aug 19, 2019
priv
test run mix format Jul 29, 2019
.env.sample
.formatter.exs mix phx.new snitch Jul 28, 2019
.gitignore create channels resource and basic flow for creating a channel and ge… Jul 28, 2019
.nvmrc add nvmrc specify 10.16.0 in package.json Jul 30, 2019
README.md add note about HOST_NAME= env variable for production Aug 12, 2019
elixir_buildpack.config specify elixir/erlang/node versions for deploy Jul 28, 2019
mix.exs add snitch og image and logo Aug 9, 2019
mix.lock add snitch og image and logo Aug 9, 2019

README.md

Snitch

Snitch is Twitch, for snitches. This is an out of the box Elixir/Phoenix application.

This application uses Mux Live Stream and Phoenix Live View.

Getting started

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Create a .env file based on .env.sample
  • Start Phoenix endpoint with the environment variables loaded source .env && mix phx.server

Now you can visit localhost:4000 from your browser.

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

Deploying

This is a straight-forward Elixir/Phoenix application so it should be deployable like any other Phoenix application.

Currently, the demo snitch.world is deployed using gigalixir. If you deploy there make sure you set the environment variables that are defined in .env.sample.

For production you will also need to add a HOST_NAME= environment variable. This is the host for where the application is deployed, without the protocol (example: HOST_NAME=snitch.world)

Learn more

You can’t perform that action at this time.