This Project cloned from https://github.com/bigardone/phoenix-trello thx for bigardone's great work! learned a lot from there. I want to learn liveview by project, and found this great one. I only upgrade Phoenix version to latest version(1.5.7), this is the first step, will write an another project for liveview version: another-phoenix-trello-with-liveview🐶
You need to have Elixir v1.3 and PostgreSQL installed.
To start your Phoenix Trello app:
- Install dependencies with
mix deps.get
- Install npm packages with
yarn
- 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!
Integration tests with Hound and Selenium ChromeDriver. Instructions:
- Install ChromeDriver with
yarn -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
.
The MIT License.