Our awesome bot to trade Codestories drafts! 🚀
Name | Version |
---|---|
Elixir | 1.8.1 |
Phoenix | 1.4.0 |
PostgreSQL | 10.6 |
- Install Elixir for MacOS X
brew update
brew install elixir
elixir -v
brew upgrade elixir # use if if the previous steps returns version below 1.4
- Install Hex - Dependencies Manager
mix local.hex
- Install all dependencies used by the Project
$ cd codestories-review-bot
$ mix deps.get
Define local values for the environment variables defined in config/dev.exs
file.
Then configure your database in config/dev.exs
and run:
$ mix ecto.create
$ mix ecto.migrate
Start your Phoenix app with:
$ mix phx.server
You can also run your app inside IEx (Interactive Elixir) as:
$ iex -S mix phx.server
You should be able to visit the page using localhost:4000
in your browser!
Environment | Address |
---|---|
Production | codestories-review-bot.herokuapp.com |
To make deployments and manage the apps you need privileges to the Heroku's project.
Automatic deployments to the Production are already enabled for master
branch.
To execute all tests please use following command:
mix test
Please remember about checking your changes before pushing to the repo in the code this way.