To start the Phoenix server using Docker:
- Build the container
docker build -t collaborative_editor . - Run the container
docker run --rm -p 4000:4000 --env-file .env collaborative_editor
To start your Phoenix server on your local machine:
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000 from your browser.