lumbung-kios-cms/README.md
2024-02-14 09:51:32 +01:00

1.2 KiB

lumbung-kiosk-cms

Build Status

This project was created using npx create-payload-app using the ts-blank template.

Local development

  • First, create a .env file in the root, and populate it with these values:
MONGODB_URI=mongodb://mongo:27017/lumbung-kios-cms
PAYLOAD_SECRET=5c8ac4a2cd754247f38ae726
PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
  • Run docker-compose -f docker-compose-local.yml up to get the application running locally.
  • The application will have no data by default, so you will have to create your own test products, couriers, retailers, dispatches, and makers.

Deployment & production setup

Push commits, it will auto-deploy to kios-admin.lumbung.space. CI/CD is powered by Drone, it uses the Dockerfile in the root project folder for builds. You can test builds locally using docker build ..

The application is running on the ruangrupa-dedi server as a vanilla Docker swarm stack.