Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.39 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.39 KB

Getting Started with Payload

Deploy to Divio

Warning

This template is based on the Beta version of Payload. We recommend using it for testing and development purposes only.

Cloud Setup

Create a Divio Account and lick the Deploy to Divio button above and follow the app creation wizard. Make sure:

  • to add PostgreSQL within your Services.
  • to add the following entries to the "Release commands" section within your Settings:
    pnpm run payload migrate:create
    pnpm run payload migrate

For in-depth details about Divio Cloud, refer to the Divio documentation.

Local Setup

Install the Divio CLI to set up your app locally.

Alternatively, build this app locally using Docker:

  1. Ensure Docker is installed and running.
  2. Clone this repository locally.
  3. Build the app with docker compose build.
  4. Build the app with docker compose run web npm install.
  5. Run the app using docker compose up.
  6. Open http://localhost:8000 to view your app.