To start your Phoenix server:
- Install dependencies with
mix deps.get
- Run
openssl req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj "/C=US/ST=Denial/L=Springfield/O=Dis/CN=www.example.com" -keyout priv/server.key -out priv/server.pem
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser.
Visit my blog article for more details.