Closed wizonesolutions closed 6 years ago
Drupal is a popular script so I'll be more than happy to merge your code when its available.
I'll also look into a unified script installer, e.g. a single script that loads multiple installers. This way, a lot of redundant code (domain & MySQL detection) can be avoided because contributors only need to write the function to download/extract/install the individual scripts.
Sounds great!
On Thu, Jul 19, 2012 at 12:56 AM, Mins < reply@reply.github.com
wrote:
Drupal is a popular script so I'll be more than happy to merge your code when its available.
I'll also look into a unified script installer, e.g. a single script that loads multiple installers. This way, a lot of redundant code (domain & MySQL detection) can be avoided because contributors only need to write the function to download/extract/install the individual scripts.
Reply to this email directly or view it on GitHub: https://github.com/Mins/TuxLite/issues/4#issuecomment-7091954
Drupal also has a command-line tool called Drush; that in itself provides a lot of functionality for installing and configuring Drupal sites, so chances are I will just install that through the script - it can be installed via PEAR - and then call it to do stuff. Why re-invent the wheel, right?
On Thu, Jul 19, 2012 at 12:59 AM, Support - WizOne Solutions < help@wizonesolutions.com> wrote:
Sounds great!
On Thu, Jul 19, 2012 at 12:56 AM, Mins < reply@reply.github.com
wrote:
Drupal is a popular script so I'll be more than happy to merge your code when its available.
I'll also look into a unified script installer, e.g. a single script that loads multiple installers. This way, a lot of redundant code (domain & MySQL detection) can be avoided because contributors only need to write the function to download/extract/install the individual scripts.
Reply to this email directly or view it on GitHub: https://github.com/Mins/TuxLite/issues/4#issuecomment-7091954
Interesting bit on Drush. I checked its source code but its not obvious to me how the download.pm.inc code pulls the latest version from drupal.org. I was curious to see how its done because Drupal does not provide a "latest.tar.gz" like other scripts do.
The discussion here seems to have a good solution for this issue http://drupal.stackexchange.com/questions/23700/how-to-find-download-latest-drupal-version-via-bash
By the way, I'm thinking it's probably a better approach to first try using bash for this task :-
1) Less reliance on external scripts, especially when the installation process is fairly simple 2) No need to install "unnecessary" packages (php-pear / Drush / php-cli) 3) Possibly easier to understand/edit code for those who are unfamiliar with Drupal
Ok, that makes sense. Will check out that link. On Jul 19, 2012 2:17 AM, "Mins" < reply@reply.github.com> wrote:
Interesting bit on Drush. I checked its source code but its not obvious to me how the download.pm.inc code pulls the latest version from drupal.org. I was curious to see how its done because Drupal does not provide a "latest.tar.gz" like other scripts do.
The discussion here seems to have a good solution for this issue
http://drupal.stackexchange.com/questions/23700/how-to-find-download-latest-drupal-version-via-bash
By the way, I'm thinking it's probably a better approach to first try using bash for this task :-
1) Less reliance on external scripts, especially when the installation process is fairly simple 2) No need to install "unnecessary" packages (php-pear / Drush / php-cli) 3) Possibly easier to understand/edit code for those who are unfamiliar with Drupal
Reply to this email directly or view it on GitHub: https://github.com/Mins/TuxLite/issues/4#issuecomment-7093414
I work a lot with Drupal - in fact, that's what I've created both times I've used TuxLite on new servers so far. I notice there's a wordpress.sh script but no drupal.sh. I'm thinking of writing a drupal.sh in the same style as wordpress.sh, so creating an issue to get your thoughts on that. If/when I write it, I'll obviously make a proper pull request.