Backend CMS for lumbung Kiosk map
Go to file
toqvist 8fb18ae000
All checks were successful
continuous-integration/drone/push Build is passing
Remove geopicker for now
2024-02-26 11:40:27 +01:00
src Remove geopicker for now 2024-02-26 11:40:27 +01:00
.drone.yml fix: missing env var for deploy 2023-01-24 12:50:41 +01:00
.env.example adds env.example file 2023-01-24 15:15:54 +01:00
.gitignore add build folder to gitignore 2024-01-23 19:21:07 +05:00
.npmrc first commit 2023-01-18 14:36:50 +01:00
.yarnrc.yml update dependencies 2024-01-23 19:24:26 +05:00
compose.yml fix: pass public url 2023-01-24 14:59:12 +01:00
docker-compose-local.yml create alternate docker compose file for local dev 2024-01-24 16:50:39 +05:00
Dockerfile update dependencies and dockerfile 2024-01-23 19:58:44 +05:00
entrypoint.sh.tmpl hacking until works 2023-01-24 17:18:39 +05:00
nodemon.json first commit 2023-01-18 14:36:50 +01:00
package.json update dependencies and dockerfile 2024-01-23 19:58:44 +05:00
README.md bumpt 2024-02-14 09:51:32 +01:00
tsconfig.json first commit 2023-01-18 14:36:50 +01:00
yarn.lock bumpt 2024-02-14 09:51:32 +01:00

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.