An optimized tech stack for efficiency, an all-in-one solution to quickly build modern web apps.
Everything from this point on has been copied from branch "pocketbase" and has to be reworked !
-
Clone the env sample file:
cp .env.sample .env
-
Start the Docker services (includes postgres):
docker-compose up -d
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Once the server is running, you'll need to create an admin user by visiting
/admin
in your browser.
To deploy in production mode:
-
Stop any running containers:
docker compose down
-
Set the production profile in your environment:
export COMPOSE_PROFILES=prod
-
Start the production stack:
docker compose up -d
The server might take a moment to initialize. You can monitor the startup process with:
docker compose logs -tf