Skip to content

AdityaSharma-Git3207/Multilingual-CMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Multilingual Wagtail CMS

A robust Content Management System built with Django and Wagtail, featuring full multilingual support (English/French) and a modern architecture.

πŸš€ Features

  • 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.

πŸ› οΈ Installation

Prerequisites

  • Python 3.11+
  • Git

Local Setup

  1. Clone the repository:

    git clone https://github.com/AdityaSharma-Git3207/Multilingual-CMS.git
    cd Multilingual-CMS
  2. 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
  3. Install dependencies:

    pip install -r requirements.txt
  4. Initialize the database:

    python manage.py migrate
  5. Create a superuser (Admin):

    python manage.py createsuperuser
  6. Run the server:

    python manage.py runserver

    Visit http://127.0.0.1:8000 for the site and http://127.0.0.1:8000/admin for the CMS.

πŸ“¦ Deployment (Render)

  1. Push to GitHub.
  2. Create a new Web Service on Render.
  3. Connect your repository.
  4. Settings:
    • Runtime: Python 3
    • Root Directory: mysite
    • Build Command: ./build.sh
    • Start Command: gunicorn mysite.wsgi:application
    • Environment Variables:
      • PYTHON_VERSION: 3.11.9
      • SECRET_KEY: (Generate a random string)

πŸ“‚ Project Structure

  • home/: Core app containing page models and templates.
  • mysite/: Project settings (base, dev, production).
  • Dockerfile: Docker configuration.
  • build.sh: Deployment script for Render.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages