Install Docker
Initialize project
init.sh
script to install devbox + devbox dependenciesDevbox requires the Nix Package Manager. If Nix is not detected when running a command, Devbox will install it for you in single-user mode for Linux. Don't worry: You can use Devbox without needing to learn the Nix Language.
If you would like to install Nix yourself, we recommend the Determinate Nix Installer.
Open in VsCode and install recommended extensions
Prerequisites completed
Use vscode
and open in devbox:
Ctrl + Shift + P
> ``
Start project with task start
from the commandline/Task
extension installed in vscode
NOTE: You can safely ignore the
Asset Management
portion of the guides
NOTE: Assets are treated slightly differently in this project because we're using
bun
+vite
+tailwindcss
as our asset build pipeline
NOTE - not used terribly often as we're relying on
LiveViews
andHTMX
for our UI
To start your Phoenix server:
mix setup
to install and setup dependenciesmix phx.server
or inside IEx with iex -S mix phx.server
Now you can visit localhost:4000
from your browser.
Ready to run in production? Please check our deployment guides.