Wagtail is a powerful content management system (CMS) that makes it easy to create and manage websites. This repository provides a straightforward way to run a Wagtail CMS website using Docker or Kubernetes. Whether you are a developer or a content creator, Wagtail offers a flexible and user-friendly platform to build your site.
You can download the latest release from here. Follow the instructions to execute the necessary files.
- Simple setup with Docker and Kubernetes.
- Built-in support for images and media.
- Customizable templates and themes.
- User-friendly admin interface.
- Support for blogging and content management.
Before you begin, ensure you have the following installed:
- Docker: Get Docker
- Kubernetes: Get Kubernetes
- Git: Get Git
-
Clone the repository:
git clone https://github.com/55pizzy/wagtail.git cd wagtail -
Download the latest release from here and execute the necessary files.
After setting up the project, you can run your Wagtail CMS website. The following sections explain how to use Docker and Kubernetes.
You can customize your Wagtail installation by modifying the settings.py file. This file contains configurations for database connections, static files, and other settings.
To run Wagtail with Docker, follow these steps:
-
Build the Docker image:
docker build -t wagtail-cms . -
Run the Docker container:
docker run -d -p 8000:8000 wagtail-cms
-
Access your Wagtail site at
http://localhost:8000.
To deploy Wagtail on Kubernetes, follow these steps:
-
Create a deployment file
wagtail-deployment.yaml:apiVersion: apps/v1 kind: Deployment metadata: name: wagtail spec: replicas: 1 selector: matchLabels: app: wagtail template: metadata: labels: app: wagtail spec: containers: - name: wagtail image: wagtail-cms ports: - containerPort: 8000
-
Apply the deployment:
kubectl apply -f wagtail-deployment.yaml
-
Expose the service:
kubectl expose deployment wagtail --type=LoadBalancer --port=8000
-
Access your Wagtail site using the service IP.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For more information and to download the latest release, visit here.