Closed (fixed)
Project:
Quickstart: Prebuilt Drupal Development Environment
Component:
Drush
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2011 at 14:43 UTC
Updated:
11 Jul 2012 at 17:17 UTC
How about adding an option to the "drush quickstart-create" command, to allow it to create a drush site alias (ie, create or append to a site aliases file)? For example, something like --alias=example.
p.s. - I'm a big fan of Quickstart and use it every day. Thanks for all the hard work and for sharing it.
Comments
Comment #1
MichaelCole commentedHey Matt,
Thats a great idea, I was unaware of this feature in drush. Cool!
What would this work in practice?
would append:
These commands would both find the domain and codepath from the URI:
Would it be useful to also add?
- '127.0.0.1 example' to /etc/hosts
- 'ServerAlias example' to apache config
This would allow http://dev in a browser
Anything I missed?
Any way to simplify it?
Are "uri" and "domain" synonyms? How about "root" and "codepath"?
Thanks Matt,
Mike
Comment #2
matt v. commentedI'm not sure I understand what you're saying, when you refer to quickstart-delete and quickstart-fixperms above. However, it does sound like the terms you're using for domain and codepath map to the sitealias file's uri and root respectively. I think the example.aliases.drushrc.php file will clarify most of your questions.
Hmm... I do like the option of adding the alias to hosts & apache config.
Comment #3
MichaelCole commentedComment #4
undersound3 commentedI would like to see this feauture as well but I'm unsure how to read #3 status of the issue.
Could not find it here http://drupal.org/node/156119.
Should this already be working or?
Comment #5
matt v. commented@undersound3, the change in reply #3 was to change the "component" of Quickstart that the issue is associated with. In this case, the issue was narrowed down specifically to the Drush code in Quickstart. The "status" of the issue remains "active".
You can always check the status at the top of the issue, which reflects the latest attributes of the issue (status, priority, etc.).
Comment #6
undersound3 commentedI see, thanks for explaining
Comment #7
dominikb1888 commentedThis would be an awesome feature, however ref to #1 why not add an alias which defaults to the domain of the site as default
Comment #8
MichaelCole commentedAdded to the new QS 2.0 requirements doc.