Skip to content

millerrs/docksal-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 

Repository files navigation

Docksal Quickstart

An example Docksal setup for Drupal projects.

Setup

  1. Make sure you have Docksal installed. If not, you can follow the instructions on the offical Docksal website.

  2. Copy the contents of the repo to your Drupal project. From your project's root directory, you can run the following:

     curl -OLs https://github.com/millerrs/docksal-quickstart/archive/master.zip && unzip -qn master.zip && rm master.zip && cp -r docksal-quickstart-master/composer-drupal-8/.docksal . && rm -rf docksal-quickstart-master
  3. Copy docksal-local.example.env and rename to docksal-local.env.

    cp .docksal/docksal-local.example.env .docksal/docksal-local.env 
  4. Make changes to the docksal-local.env file. Options include:

    • Changing the virtual host (default: drupal8.docksal)
    • Changing the project's document root (default: docroot/web)
    • Changing the static port for MariaDB (default: 33061)
    • Enabling xdebug (default: 0)
    • Adding a Pantheon site name (default: none)
  5. Run fin init

    If you have a Pantheon site, the latest DB will be downloaded and imported during the site installation. By default, a database will be setup and you can import a copy of your DB using the included DB import command (fin db-import [path to db]).

    Check and see that your site runs. Now you can start coding!

About

An example Docksal setup for Drupal projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages