Git Product home page Git Product logo

Comments (7)

lmakarov avatar lmakarov commented on August 25, 2024 3

Available in the edge images and will be release in docksal/cli v2.1.0

from service-cli.

frederickjh avatar frederickjh commented on August 25, 2024 1

In your Docksal project's .docksal/docksal.env or if this is only for you in your .docksal/docksal-local.env (not in ~/.docksal/docksal.env):

DRUSH_LAUNCHER_FALLBACK=/usr/local/bin/drush8

TIP: The Docksal project files.docsal-local.env and .docksal-local.env are for your local changes and should not be committed to your git repository. docksal.env and .docksal.yml are for all the configuration that should be shared with anyone else that needs to get the project up and running in Docksal.

from service-cli.

amjad-wp avatar amjad-wp commented on August 25, 2024

@lmakarov Just read now how would I add this flag ?

At the moment I am just using following to get access to legacy Drush
echo "alias drush=/usr/local/bin/drush8" >> ~/.bashrc && source ~/.bashrc

Is there any better way ?

from service-cli.

amjad-wp avatar amjad-wp commented on August 25, 2024

Tacos to you my friend. You're a champion.

from service-cli.

lmakarov avatar lmakarov commented on August 25, 2024

@amjad-wp, @frederickjh you normally don't need to do anything, as long as you are on the latest Docksal version using the default stack.

If you have a custom stack defined in .docksal/docksal.yml in you project, then, either update image versions there, or switch to using the default stack. The default stack is updated automatically when you update Docksal. Using the default stack is the recommended way for most users. Take a look at how it is being used in https://github.com/docksal/drupal8

It is possible, that even with the default stack you have image versions pinned in .docksal/docksal.env of you project. If that is the case, then, either update the pinned versions, or don't pin at all (unless you know what you are doing).

from service-cli.

frederickjh avatar frederickjh commented on August 25, 2024

@lmakarov I am not using this myself, as I haven't had a need to, it just works as you say. I was just explaining how to set a environmental variable in a Docksal project container.

from service-cli.

amjad-wp avatar amjad-wp commented on August 25, 2024

@lmakarov I have switched to dev version few days back. For debugging issue docksal/docksal#800

from service-cli.

Related Issues (20)

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.