Skip to content

qgis/QGIS-UG-India

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

191 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

🌐 QGIS User Group Website Template

πŸ‘‹ Welcome to the QGIS User Group Website Template!

This repository provides a template for creating QGIS User Group websites:
🌍 Hosted as subdomains of qgis.org (e.g., yourgroup.qgis.org)

Here you'll find everything you need to build, develop, and customize your User Group Website.

-----------------------------------------------------

πŸ“– Table of Contents

Table of Contents
  1. πŸš€ Project Overview
  2. 🎯 Getting Started
  3. πŸ› οΈ Setting Up Your User Group Site
  4. πŸ“‚ Folder Structure
  5. ✏️ Customizing Your Site
  6. πŸ“œ License
  7. 🧊 Using the Nix Shell
  8. ✨ Contributing

-----------------------------------------------------

πŸš€ Project Overview

This template is designed for QGIS User Groups to quickly set up a professional website with:

  • Home page - Welcome visitors and introduce your group
  • Events page - List upcoming and past events
  • Who we are page - Introduce your team and members
  • Rules page - Community guidelines and code of conduct

The template uses Hugo static site generator with a clean, responsive design that maintains consistency with the QGIS ecosystem.

-----------------------------------------------------

🎯 Getting Started

Prerequisites

  • Hugo (version 0.139.0 or higher)
  • Git
  • A text editor or an IDE (eg. VSCode)

Local Development

  1. Clone this repository:

    git clone https://github.com/QGIS/QGIS-User-Group-Website.git
    cd QGIS-User-Group-Website
  2. Run the development server:

    make hugo-run-dev

    Or directly with Hugo:

    hugo server --config config.toml,config/config.dev.toml
  3. View your site: Open your browser to http://localhost:1313

-----------------------------------------------------

πŸ› οΈ Setting Up Your User Group Site

Step 1: Request a Branch

To set up a website for your QGIS User Group:

  1. Contact the QGIS Website Team:

  2. Provide Information:

    • User Group name
    • Country/region
    • Preferred subdomain name
    • Contact person(s) with GitHub usernames

Step 2: Branch Creation and Permissions

The QGIS team will:

  1. Create a dedicated branch for your user group (e.g., usergroup/sweden)
  2. Set up branch protection rules
  3. Grant you write permissions to your branch
  4. Configure GitHub Actions for automated deployment

Step 3: Configure Your Branch

Once your branch is ready:

  1. Clone and checkout your branch:

    git clone https://github.com/qgis/QGIS-User-Group-Website.git
    cd QGIS-User-Group-Website
    git checkout usergroup/your-group-name
  2. Update configuration:

    • Edit config.toml with your group details
    • Update the baseURL to match your subdomain
    • Customize the title and other settings
  3. Customize content:

    • Edit content pages in the content/ directory
    • Add your team information
    • Update events and rules
    • Replace placeholder images
  4. Commit and push:

    git add .
    git commit -m "Initial customization for [Your Group Name]"
    git push origin usergroup/your-group-name

Step 4: Request Deployment

After customizing your site:

  1. Request subdomain deployment:

    • Contact the QGIS team to request deployment
    • Provide your desired subdomain (e.g., sweden.qgis.org)
  2. The QGIS team will:

    • Configure the subdomain on qgis.org
    • Set up automated deployment from your branch
    • Provide you with the live URL

Managing Your Branch

You have full control over your branch:

  • Push changes: Changes pushed to your branch will automatically deploy
  • Collaborate: Add other team members as collaborators on your branch
  • Keep updated: Periodically merge updates from the main template branch to get new features

-----------------------------------------------------

πŸ“‚ Folder Structure

QGIS-User-Group-Website/
  β”œβ”€β”€ βš™οΈ  config/           # Hugo configuration files
  β”œβ”€β”€ πŸ“„  content/          # Markdown content files (pages, posts)
  β”œβ”€β”€ πŸ–ΌοΈ  img/              # Images files used by this README
  β”œβ”€β”€ 🧩  layouts/          # Hugo templates and partials
  β”œβ”€β”€ πŸ“¦  public/           # Generated site output (after `hugo` build)
  β”œβ”€β”€ πŸ—‚οΈ  resources/        # Hugo-generated resources (e.g., minified assets)
  β”œβ”€β”€ πŸ“„  static/           # Static files served as-is (e.g., favicon, images)
  β”œβ”€β”€ 🎨  themes/           # Hugo themes
  β”œβ”€β”€ βš™οΈ  config.toml       # Main Hugo configuration file
  β”œβ”€β”€ 🀝  CONTRIBUTING.md   # Contribution guidelines
  β”œβ”€β”€ πŸ“œ  LICENSE           # Project license
  β”œβ”€β”€ βš™οΈ  Makefile          # Build/Deployment automation commands
  └── πŸ“–  README.md         # This file

-----------------------------------------------------

✏️ Customizing Your Site

Content Pages

All content is in the content/ directory:

  • _index.md - Home page
  • events.md - Events listing
  • about.md - Team and member information
  • rules.md - Community guidelines
  • case-studies.md - Local project highlights
  • community.md - Join and contribute
  • tutorials.md - QGIS tutorials list
  • blog/_index.md - Blog intro and list

You are free to edit or add new files as needed to customize your content. The files use Markdown with Hugo shortcodes.

Configuration

Edit config.toml to customize:

  • Site title and URL
  • Menu structure
  • Colors and branding
  • Social media links
  • Analytics settings

Navigation menu

Edit the themes/qgis-website-theme/layouts/partials/menu.html file to customize:

Edit the static/config/navigation.json file to customize the secondary menu on mobile. This file should be updated whenever you modify your menu entries.

Images and Assets

  • Place images in static/img/ or content/
  • Update hero images in page front matter
  • Replace the logo files
  • Add your own favicon

Styling

The template uses the qgis-website-theme which provides:

  • Responsive design
  • Clean, modern look
  • Customizable colors
  • Reusable content blocks

Colors and fonts can be customized in config.toml under [params].

-----------------------------------------------------

πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.

-----------------------------------------------------

🧊 Using the Nix Shell

Please refer to the Nix section in CONTRIBUTING.md.

-----------------------------------------------------

✨ Contributing

We welcome contributions to improve this template!

  • For template improvements: Submit PRs to the main branch
  • For your user group site: Work on your dedicated branch

Please read the CONTRIBUTING.md for guidelines.

-----------------------------------------------------

πŸ™‹ Have Questions?

  • Template questions: Open an issue in this repository
  • General QGIS questions: Visit qgis.org

-----------------------------------------------------

πŸ§‘β€πŸ’»πŸ‘©β€πŸ’» Contributors

-----------------------------------------------------

Made with ❀️ by the QGIS Contributors.

About

User group web site for the QGIS community in India

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors