templates/_template/README.md
A blank template for Payload to help you get up and running quickly. This repo may have been created by running npx create-payload-app@latest and selecting the "blank" template.
See the official Examples Directory for details on how to use Payload in a variety of different ways.
To spin up the project locally, follow these steps:
cd YOUR_PROJECT_REPO && cp .env.example .envbeta && beta dev (or docker-compose up, see Docker)open http://localhost:3000/admin to access the admin panelThat's it! Changes made in ./src will be reflected in your app.
Alternatively, you can use Docker to spin up this project locally. To do so, follow these steps:
.env file in your project rootdocker-compose upThat's it! The Docker instance will help you get up and running quickly while also standardizing the development environment across your teams.
To run Payload in production, you need to build and start the Admin panel. To do so, follow these steps:
payload build script by running beta build or npm run build in your project root. This creates a ./build directory with a production-ready admin bundle.beta start or npm run start to run Node in production and start Payload from the ./build directory.Check out the deployment documentation for details on how to deploy your project.
If you have any issues or questions, reach out to us on Discord or start a GitHub discussion.