- Elixir 1.2.2 / Phoenix 1.1.4
- Elm 2.0.0
- PostgreSQL 9+
- Redis
- Install dependencies with
mix deps.get
mix ecto.create
seems to be broken, runpsql
&create database familiada_dev owner <your_username>;
editconfig/dev.exs
and set proper database user as <your_username>;"echo "export FAMILIADEX_DB_USER=your_username" >> ~/.bashrc"
- If it complains about password please run
psql
&alter user your_username with password '';
- Migrate your database with
mix ecto.create && mix ecto.migrate
, then seedmix run priv/repo/seeds.exs
- Run
npm install
- Run
npm install -g [email protected]
- Run
cd web/elm
&elm-package install
- Start Phoenix endpoint with
mix phoenix.server
- Install inotify(only linux) for automatic hot reload - http://www.phoenixframework.org/docs/installation
echo "export FACEBOOK_CLIENT_SECRET=[filtered]" >> ~/.bashrc
Now you can visit localhost:4000
from your browser.
- email: [email protected]
- password: test
https://familiadex.herokuapp.com/
=== familiadex Buildpack URLs
- https://github.com/HashNuke/heroku-buildpack-elixir
- https://github.com/Machiaweliczny/heroku-buildpack-elm
- Add priv/static files to git before pushing to heroku
- Official website: http://www.phoenixframework.org/
- http://elm-lang.org/docs
- https://github.com/urfolomeus/seat_saver - phoenix + elm communication using channels