LocalGov Drupal Docs
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
Overview
  • Developers
  • Content designers
  • Designers
  • Contributing
  • Credits System
  • Accessibility
  • Governance
Microsites
Main site
GitHub
  • For Developers
  • Getting started
    • Drupal requirements
    • Working with Lando
    • Working with DDEV
    • Debugging with Xdebug
    • Working with Gitpod
      • Try it out
      • Adding demo content
      • Installing modules and testing branches
  • General configuration
    • Content types
    • Custom modules
    • Image styles
    • Media types
    • Paragraph types
    • Taxonomies
    • User roles
  • Features
    • Services: Technical
    • Alert banners: Technical
    • News: Technical
    • Directories: Technical
    • Location Geo: Technical
    • Subsites: Technical
    • Workflows: Technical
  • Theme
    • LocalGov Base
    • Regions
    • LocalGov Theme (Deprecated)
    • Skeleton theme (Deprecated)
    • Admin theme (Deprecated)
  • Testing
  • Development workflows
    • Installing and deploying a LocalGov Drupal site
  • Hosting
    • Hosting a LocalGov Drupal site
    • Hosting LocalGov Drupal on Azure
  • Release statuses
    • Release statuses
  • Security
    • Best practice guidance
    • Single Sign-On
  • Quality standards
    • Quality standards: Accessibility
    • Quality standard: Documentation
    • Quality standard: Testing
  • How-tos
    • How to use Gitpod to test modules in the browser

Working with Gitpod

Gitpod is a cloud development environment. Using Gitpod can help you get LocalGov Drupal up and running quickly, without needing to set up a local development environment. It's more like a local development environment than a production environment, and is intended for you to try out LocalGov Drupal, not for running live websites.

Try it out

  1. Sign up for gitpod.io, if you haven't already.

  2. Click on the "Open in Gitpod" button below

Open in Gitpod

  1. Your environment is being prepared, wait about a minute.
  2. VSCode code editor will be displayed.
  3. Various commands will run in the terminal at the bottom of the screen. Wait for these to complete.
  4. You'll get a link to your LocalGov Drupal site in a message like this. Ctrl-click the long link to open the LocalGov Drupal website in a new tab
Project can be reached at https://8080-essexcounty-localgovpro-i5qq2u8hn9l.ws-eu81.gitpod.io
  1. Log in with the credentials admin and admin.

If you later make the site public, make sure you change the username and password - otherwise anyone with the link could control your site. By default, the project is not made public, so this is not an issue.

Adding demo content

The LocalGov Drupal demo content showcases a lot of the content types in LocalGov Drupal. Enabling this will make your website look like https://demo.localgovdrupal.org. To do this:

  1. Go to the Gitpod window
  2. In the terminal at the bottom of the page, type ddev drush en localgov_demo

Installing modules and testing branches

Our how to guides include step by step instructions for installing new Drupal modules and testing LGD work in progress.

Help us improve this page!
Last Updated: 2/13/2025, 11:57:21 AM
Prev
Debugging with Xdebug