Deployed version here: https://stormy-everglades-49901.herokuapp.com
To start project locally:
- Clone repo from https://github.com/Merff/Exawesome
- Fill db and github-api credentials in config.exs/dev.exs files
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.setup
- Start Phoenix endpoint with
iex -S mix phx.server
- Fetch real data by run in iex console
Exawesome.update_data()
- Wait 😴
Now you can visit localhost:4000
from your browser.
- I used lib Quantum for run schedule task because it is easier than writing your GenServer scheduler
- Run tests with
mix test
(at first run exVCR-lib will go to fetch real data)
- Removes libs which removed from https://github.com/h4cc/awesome-elixir
- Make SaveDataContext async