Quick Start
This guide walks you through creating a new project with locraft and spinning up your first services.
1. Initialize a project
Section titled “1. Initialize a project”cd ~/my-applocraft initlocraft will ask which services you need. Pick a few — for example Postgres and Redis.
2. Start services
Section titled “2. Start services”locraft upThat’s it. locraft creates a managed Docker Compose stack and starts the containers.
3. Check status
Section titled “3. Check status”locraft statusSERVICE STATUS PORTpostgres running 5432redis running 63794. Connect your app
Section titled “4. Connect your app”locraft prints connection strings you can drop straight into your app’s .env:
DATABASE_URL=postgresql://locraft:locraft@localhost:5432/myappREDIS_URL=redis://localhost:63795. Stop when done
Section titled “5. Stop when done”locraft downContainers stop but data volumes persist, so your data is safe for next time.
What’s next?
Section titled “What’s next?”- Explore the Dashboard — run
locraft dashboardto open the local web UI. - Check the Introduction for an overview of all features.