Install Elixir and Erlang:
To start your Phoenix server:
- Run
mix setup
to install and setup dependencies - Start Phoenix endpoint with
mix phx.server
or inside IEx withiex -S mix phx.server
To use MiniUrl:
- Visit
http://localhost:8080/
in your browser - Enter an url in the original url, e.g. http:example.com/
- Note: Make sure the url you enter is one that you can visit in a browser
Test dependencies:
- Tests currently call external sites such as example.com and example1.com. TODO: They should use mocks.