CORIOLANUS, DRUPAL INSTALLER SCRIPT 0.1b

Brief
------
Coriolanus is lightweight install drush script which sets up for you a very rich Drupal installation in seconds.
The script is not relying on a predefined custom profile but rather install the modules, libraries as a customizable independent distribution. You can add/remove or enable/disable modules from within the script at your choice. This adds more flexibility over a custom profile.

Project page: http://drupal.org/sandbox/jazio.net/1969760

Setting up repository for the first time
--------------------------------------------------
git clone --branch master jazio.net@git.drupal.org:sandbox/jazio.net/1969760.git coriolanus
cd coriolanus

Description
----------------

The script automatically set up a Drupal installation with a wysiwyg editor and several of the most useful modules. First it runs the drush .make file which download the necessary modules / libraries, then execute several drush commands which set up the installation of database, enable necessary Drupal modules and disable others e.g. as 'update'. You can alter the script to add new modules.

Providing the script with the database credentials is necessary or else will have to set up through the installation process manually.

Available modules:
----------------------

admin_menu, ctools, context, calendar, date, devel, features, imce, i18n, libraries, menu_block, modernizr, nice_menus, nodequeue, pathauto, relation, strongarm, token, ckeditor, jquery_update, views, views bulk operations (VBO), views_slideshow, webform

Available libraries:
----------------------

jQuery 1.7.2, jQuery UI 1.8, CKEditor 4.1

Enabled by default modules:
---------------------------

ctools views views_ui context context_ui features webform jquery_update libraries wysiwyg ckeditor

REQUIREMENTS
------------

Drush 5.x, http://drupal.org/project/drush
MySQL server 5.x
(on Windows only) Cygwin or alternative e.g. git-bash

INSTALL ON LINUX
----------------

1. Download and unzip the package unto your server
2. Before first run this script run chmod +x install.sh to make it executable
3. Open up the install.sh with a text editor and fill in your MySql user credentials in the '.database settings'
4. Run the script from the console: ./install.sh

INSTALL ON WINDOWS
--------------------------------
Cygwin is probably the easiest way. http://www.cygwin.com/
Alternatively if you're already using git-bash for github etc you can use it to run .sh scripts too.
In the cygwin or git-bash console follow the above steps.

If Cygwin or alternative are not available you still can run the .make file:

drush make coriolanus.make

but this will only download the packages.

FUTURE
-----------

There is a plan (very soon) to include an optional brand new profile in the package, and a new Bootstrap Twitter theme called Coriolis.

Comments

jazio’s picture

Assigned: jazio » Unassigned
Priority: Major » Normal
PA robot’s picture

Status: Needs review » Needs work

Link to the project page and git clone command are missing in the issue summary, please add them.

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

jazio’s picture

Issue summary: View changes

Added the git repository link

jazio’s picture

Status: Needs work » Needs review

-- provided with git repository link
-- added new edits

jazio’s picture

Issue summary: View changes

-- new edits to make the purpose more clear.
-- added the git repository links

driki_’s picture

Status: Needs review » Needs work

Hello,

Apparently it's missing some fields in the .info file :
http://ventral.org/pareview/httpgitdrupalorgsandboxjazionet1969760git

Regards
Cédric

driki_’s picture

Issue summary: View changes

added project page link

jazio’s picture

Status: Needs work » Needs review

added missing fields in the info file. However the use of info file is now rather optional.

musicalvegan0’s picture

Status: Needs review » Needs work

I tried to run install.sh after setting ONLY the .database variables encountered some errors:

[root@jawbreaker coriolanus]# ./install.sh 
------------------------------------------
INSTALL INITIATED
Please be patient a a few moments.
------------------------------------------
SUCCESS -- drush make                                                  [ok]
RE -- install Drupal                                                   [error]
Drush command terminated abnormally due to an unrecoverable error.     [error]

It's unclear as to whether or not you are supposed to edit the .site settings. I assume you ARE supposed to, but your directions don't indicate that this might be required. You should probably include a README file with detailed instructions.

After I edit the .site settings, the installation completes without errors. However, when accessing the site, I get the following errors from Drupal's status page:

Update notifications are not enabled. It is highly recommended that you enable the update manager module from the module administration page in order to stay up-to-date on new releases. For more information, Update status handbook page.

Was this disabled on purpose? If not, I'd recommend making sure its enabled. I feel like enabling the update manager is critical for most people.

You may want to add some debugging to your install script. Either through stdout/stderr or through a log file. In the same vain, it may be nice to add status messages so people don't have to guess if the script is "working" or not. You don't need a progress bar or anything complex like that, simply messages like "installing database tables" and "downloading latest version of Drupal."

You may also consider proper indentation in install.sh. The script isn't unreadable now, but if you add to it and it gets more complex, proper indentation will be important.

You have a typo on line 51 of install.sh: "Please be patent a a few moments."

Finally, perhaps in the README and on the site's project page, you should include who this script is intended for. It's good that you've listed which modules are installed and enabled, but I'm still not sure why I would use THIS particular configuration script. Is it designed for general purpose? E-commerce? Blogs? Having a clear description of who this pre-configured installation is intended for is crucial for unsure users.

Good luck!

jazio’s picture

@musicalvegan0, Thanks Cris, indeed the user is required to provide the script with his database credentials. I will figure out how to prompt this on command line. Thanks for all the testing tips. You did a great jobs. I will soon come back with updates.

jazio’s picture

Assigned: Unassigned » jazio
Status: Needs work » Needs review

This is a general purpose Drupal drush script installer.
+ added a prompt for user's mysql credentials
+ added new verbosity for a better guidance
+ syntax fixes

yandex-plugins’s picture

Hello,

please move your changes to correct branch as described in Release naming conventions, after you need to set correct default branch (Setting a default branch) & remove master.

Regards

kscheirer’s picture

Title: Coriolanus » [D7] Coriolanus
Status: Needs review » Needs work

It appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.

Your .info file should include more info like description and core directives.

I'm not sure you need the install script - could that should be moved to an install profile instead?

I agree with the comment above, more description about the resulting Drupal site than "a very rich Drupal installation" is needed.

PA robot’s picture

Status: Needs work » Closed (won't fix)

Closing due to lack of activity. Feel free to reopen if you are still working on this application.

I'm a robot and this is an automated message from Project Applications Scraper.

PA robot’s picture

Issue summary: View changes

Added user prompt for mysql credentials

avpaderno’s picture

Component: other » drush
Assigned: jazio » Unassigned