Mention Elixir resources in README, start server with REPL

This commit is contained in:
Timothée Floure 2020-12-15 09:02:51 +01:00
parent ce58708876
commit 3ff1c12b28
Signed by: tfloure
GPG key ID: 4502C902C00A1E12

View file

@ -22,12 +22,20 @@ can:
container with something along the lines of `podman run --rm -it -e container with something along the lines of `podman run --rm -it -e
POSTGRES_HOST_AUTH_METHOD=trust --expose 5432 -p 5432:5432 POSTGRES_HOST_AUTH_METHOD=trust --expose 5432 -p 5432:5432
postgres:latest`. postgres:latest`.
* Start Phoenix endpoint with `mix phx.server` * Start Phoenix endpoint with `mix phx.server` (or `iex -S mix phx.server`,
if you want a REPL).
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser. Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## Useful Resources ## Useful Resources
Elixir Language:
* (Good!) Introduction and various guides: https://elixir-lang.org/getting-started/introduction.html
* Elixir Docs: https://hexdocs.pm/elixir/Kernel.html
* Mix (= build tool) Docs: https://hexdocs.pm/mix/Mix.html
* IEx (= REPL) Docs: https://hexdocs.pm/iex/IEx.html
Phoenix Web Framework: Phoenix Web Framework:
* Official website: https://www.phoenixframework.org/ * Official website: https://www.phoenixframework.org/