ItsJuice / juicebox

Our elixir jukebox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JuiceboxWeb

Build Status

First install Elixir:

brew update
brew install elixir

To start your Phoenix app:

  1. Install dependencies with mix deps.get
  2. Create and migrate your database with mix ecto.create && mix ecto.migrate
  3. Install npm dependencies with npm install
  4. Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

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

Deploy to heroku

The only setup is that you need to install two buildpacks:

heroku buildpacks:add heroku/nodejs
heroku buildpacks:add heroku/heroku-buildpack-elixir

Running tests

phantomjs --wd
mix test

Learn more

Troubleshooting

If you run into trouble with

$ mix ecto.create

run the commands

  1. CREATE ROLE postgres LOGIN CREATEDB;
  2. ALTER ROLE postgres LOGIN;
  3. ALTER ROLE postgres CREATEDB;

About

Our elixir jukebox


Languages

Language:Elixir 61.1%Language:JavaScript 31.6%Language:CSS 6.3%Language:HTML 0.7%Language:Shell 0.3%