Local Development Nirvana Using Docksal

chrisroane

Have you ever been frustrated getting solr working for a site locally? Or encountered issues that are happening on live but can't replicate on your local? Or struggled with getting a site working locally?

Docksal is a great tool to easily get a site to run locally and have it closely match your hosting provider. Docksal Hosting Integration adds additional custom commands that further streamline many of the common things we need to do locally, like bringing down the db/user files, initial setup and running batch commands.

This is an entry level session that does the following:

  • Introduces Docksal and talks about the problems it solves.
  • Talk about how Docksal Hosting Integration takes your local development a step further. Things such as connecting to hosting providers like Pantheon and Platform.sh to pull down the db + user files, how to handle deployments when you are using a separate repo in github/bitbucket from the hosting repo and other use cases.
  • The goal of this session is to show how to setup a reliable local environment that is simple to setup and maintain. We want to spend our time coding and site building and not debugging local issues!
  • We want our local site to match as closely to our hosting environment as possible, so we can easily replicate and fix issues quickly, and we want to avoid having configuration issues when multiple developers are working on the project at the same time.
  • We want to be able to use all of our frontend tools inside of the docker container so we don't have to manage them on our host machines. We will show how to easily use things such as gulp, sass, node, etc... inside of the container which makes setup much simpler and ensures the full dev team is using the same versions of all the software.

Do you want to know how to have a killer local environment? Than come to this session. 

Program tags

back end development, front end development, site building

Experience Level

Beginner

Drupal Version