A robust Content Management System built with Django and Wagtail, featuring full multilingual support (English/French) and a modern architecture.
- Multilingual Support: Seamless switching between English and French.
- Wagtail CMS: Powerful, user-friendly admin interface.
- StreamFields: Flexible page construction using dynamic blocks.
- Dockerized: Ready for containerized deployment.
- Production Ready: Configured for deployment on platforms like Render.
- Python 3.11+
- Git
-
Clone the repository:
git clone https://github.com/AdityaSharma-Git3207/Multilingual-CMS.git cd Multilingual-CMS -
Set up the environment:
# Navigate to the project folder cd mysite # Create a virtual environment python -m venv venv # Activate it # Windows: venv\Scripts\activate # Mac/Linux: source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the database:
python manage.py migrate
-
Create a superuser (Admin):
python manage.py createsuperuser
-
Run the server:
python manage.py runserver
Visit
http://127.0.0.1:8000for the site andhttp://127.0.0.1:8000/adminfor the CMS.
- Push to GitHub.
- Create a new Web Service on Render.
- Connect your repository.
- Settings:
- Runtime: Python 3
- Root Directory:
mysite - Build Command:
./build.sh - Start Command:
gunicorn mysite.wsgi:application - Environment Variables:
PYTHON_VERSION:3.11.9SECRET_KEY: (Generate a random string)
home/: Core app containing page models and templates.mysite/: Project settings (base, dev, production).Dockerfile: Docker configuration.build.sh: Deployment script for Render.