phenaproxima / starshot-prototype

Prototype of a new kind of Drupal, based on recipes and loaded up with contrib's best modules and themes. Not a fork or a distribution.
https://drupal.org/starshot
115 stars 46 forks source link

Add a few DDEV bash aliases #120

Closed TravisCarden closed 3 months ago

TravisCarden commented 3 months ago

What would you think of a few convenience aliases, @phenaproxima?

gitressa commented 3 months ago

That's a great idea, I added these to the Drupal documentation a while ago:

# DDEV, Drush, and Composer aliases
alias dstart='ddev start'
alias dstop='ddev stop'
alias drush='ddev drush'
alias din='ddev drush install'
alias dun='ddev drush pm:uninstall'
alias duli='ddev drush uli'
alias creq='ddev composer require'
alias crem='ddev composer remove'

From Working efficiently with the command line > DDEV, Drush, and Composer aliases.

aXb0t commented 3 months ago

Man I waste a lot of keystrokes on those commands.

What are you all working on, with Starshot and some kind of Ubuntu container?

TravisCarden commented 3 months ago

Merging. @alexb7217, these are for DDEV. We don't have any documentation on it. If you want to provide or propose some, feel free to open an issue. 🙂

aXb0t commented 3 months ago

@TravisCarden are you saying the documentation in the README needs expansion? https://github.com/phenaproxima/starshot-prototype?tab=readme-ov-file#using-project-browser-with-ddev

I am happy to attempt to provide DDEV related documentation for this project if it would be useful.

TravisCarden commented 3 months ago

Yes, @alexb7217. Most of the effort on this project so far has gone into solving the major technological challenges, so any help with documentation is very welcome. As of this week, I'm focusing on project setup, including DDEV, so your feedback would be timely. I've created https://github.com/phenaproxima/starshot-prototype/issues/126 as a place to share it. Thanks!

aXb0t commented 3 months ago

I see this is merged alread, making a note I think I get the intent of the aliases. Will follow up in #126 .

The .homeadditions/.bash_aliases add some convenience methods inside the container.

So, ddev ssh and then dr foo-command to run commands in shell, for example.

Will look again at the list offered here: https://github.com/phenaproxima/starshot-prototype/pull/120#issuecomment-2188261367

And looking for ways to use and describe aliases for documentation as well.