church-website/README.md
2024-12-02 10:50:32 +01:00

39 lines
No EOL
889 B
Markdown

# Heilige Drei Könige Website
This is the repository for the Heilige Drei Könige Catholic Church website, built using
Payload CMS v3, NextJS, React and MongoDB.
## Getting Started
### Prerequisites
- Node.js and npm: Make sure you have Node.js and npm installed on your machine.
- MongoDB: You'll need a MongoDB database to store the website data.
### MongoDB
If you don't have docker on system installed, please
follow the instructions for your operating system on the Docker website.
To pull the MongoDB docker image:
```bash
docker pull mongodb/mongodb-community-server:latest
```
To Run the image as a Container
```bash
docker run --name mongodb -p 27017:27017 -d mongodb/mongodb-community-server:latest
```
### Environment variables
Please set the environment variables in the `.env` file
```bash
cp .env.example .env
```
### Development server
```bash
npm run dev
```