Phoenix Toggl
Toggl tribute done with Elixir, Phoenix Framework, React and Redux.
Live demo
https://phoenix-toggl.herokuapp.com
Requirements
You need to have Elixir v1.2 and PostgreSQL installed.
Installation instructions
To start your Phoenix Trello app:
- Install dependencies with
mix deps.get
- Install npm packages with
npm install
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Run seeds to create demo user with
mix run priv/repo/seeds.exs
- Start Phoenix endpoint with
mix phoenix.server
Now you can visit localhost:4000
from your browser.
Enjoy!
Testing
Integration tests with Hound and Selenium ChromeDriver. Instructions:
- Install ChromeDriver with
npm install -g chromedriver
- Run ChromeDriver in a new terminal window with
chromedriver
- Run tests with
mix test
If you don't want to run integration tests just run mix test --exclude integration
.
License
See LICENSE.