Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snailedlt/payloadcms-from-scratch-demo
Example project using create-payload-app
https://github.com/snailedlt/payloadcms-from-scratch-demo
Last synced: 15 days ago
JSON representation
Example project using create-payload-app
- Host: GitHub
- URL: https://github.com/snailedlt/payloadcms-from-scratch-demo
- Owner: Snailedlt
- Created: 2023-07-19T15:27:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-19T15:39:04.000Z (over 1 year ago)
- Last Synced: 2024-05-01T13:07:10.480Z (7 months ago)
- Language: TypeScript
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# payloadcms-from-scratch-demo
This project was created using create-payload-app using the blank template.
## How to Use
`yarn dev` will start up your application and reload on any changes.
### Docker
If you have docker and docker-compose installed, you can run `docker-compose up`
To build the docker image, run `docker build -t my-tag .`
Ensure you are passing all needed environment variables when starting up your container via `--env-file` or setting them with your deployment.
The 3 typical env vars will be `MONGODB_URI`, `PAYLOAD_SECRET`, and `PAYLOAD_CONFIG_PATH`
`docker run --env-file .env -p 3000:3000 my-tag`