Commit d2cca27e authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

Merge branch 'docker-dev' into 'master'

Add tips to use iex

See merge request !62
parents 214747d4 0eb5cdde
Pipeline #437500 passed with stage
in 11 seconds
......@@ -47,6 +47,15 @@ docker-compose exec api mix ecto.migrate
(or the shortcut version `make migrate`)
If you need to execute the `iex` while running, you can launch the database container on it's own:
docker-compose start postgres
And then run the API container with `iex`:
docker-compose run --service-ports --rm api iex -S mix phx.server
## Without Docker
......@@ -129,6 +138,11 @@ Start Phoenix endpoint with `mix phx.server`. The client development server will
Now you can visit [ `localhost:4000` ](http://localhost:4000) in your browser
and see the website (server *and* client) in action.
If you want to access `iex` while the server is running, you can use this command to launch the server:
iex -S mix phx.server
## FAQ
### Issues with argon2 when creating users.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment