Git Product home page Git Product logo

vote-gov-drupal's Introduction

Vote.gov Drupal 10 installation

Requirements

Lando: https://docs.lando.dev/

NOTE: Lando requires a specific version of docker which is loaded as part of the lando package. Do not update docker separate from lando. When you update lando docker will be updated as well.

Developer documentation

Reference the developer documentation in to docs directory.

Getting started

Initializing the site

lando start
lando composer install
lando set

Importing Database

lando db-import <filename>
lando retune

You can get the local site urls using this command.

lando info

Build the theme compiled files

See the README file located in the vote_gov custom theme for a quick start.

Drush commands

Clearing cache

lando drush cr

Log in as Superuser locally

lando drush uli

Managing site configuration

Import configuration from /config/

lando drush cim

Export configuration to /config/

lando drush cex

Lando commands

Command Use case
lando info Get info on a lando container include url links.
lando start Start the container
lando stop Stop the container
lando poweroff Turn off lando and all containers
lando rebuild Rebuild the container (retains your db, use when there are updates to .lando.yml)
lando destroy Destroys container and your db (when all else fails)

Custom Lando commands

Command Use case
lando retune Runs a list of commands to sync changes when pulling commits or checking out different branches
lando set Copies development versions of services.yml and settings.php to sites directory to initialize db connection
lando static Manually recompiles static site and assets

vote-gov-drupal's People

Contributors

casey-rapnicki-bixal avatar clmedders avatar daniel-crowder avatar dependabot[bot] avatar jefffortune avatar makazimtingwa avatar mlloydbixal avatar rayestrada avatar samiramsadat avatar tt-gsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.