Xray expects the following environment variables:
SECRET_KEY_BASEfor Phoenix (generate withmix phx.gen.secret)AWS_ACCESS_KEY_IDandAWS_SECRET_ACCESS_KEYif using S3 for file storageHONEYBADGER_API_KEYif using Honeybadger for error trackingADMIN_PASSWORDto access the LiveDashboard
To start your Phoenix server:
- Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.setup - Install Node.js dependencies with
npm --prefix assets install - Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000 from your browser.