As it stands, in order to install citizens connected you need to:
- Download the citizens connected code.
- Then download all the supporting modules.
- Enable the relevant modules.
- Start to configure and create.

This process isn't overly obvious to drupal newbies, and there are a lot of steps between start and finish that could present challenges to a new user of drupal. This becomes a barrier for easy adoption. Citizens Connected needs to be as simple as possible, starting from install.

The obvious solution to this is to make a CitCon install profile... then, right from the install.php page, you'll be able to select "Install Citizens Connected" and have a fully functioning CitCon install.

At a minimum this should ideally include a make file which references citcon, it's dependancies, and a custom theme.
It may be nice to include some features, some helper text, and other things...?

Thoughts?

Comments

ian clysdale’s picture

I'm going to see if I can start putting together something hyper-minimal that will at least package the module dependencies together before the code sprint; I'll post something and make it available here if I can.

sebsebseb123’s picture

As a starting point, Ian has created a make file with calls in CitCon's dependencies.
http://clysdale.ca/cconnected.make
; This file was auto-generated by drush make
core = 7.x

api = 2
projects[drupal][version] = "7.x"

; Modules
projects[ctools][version] = "1.2"

projects[date][version] = "2.6"

projects[email][version] = "1.2"

projects[entity][version] = "1.0-rc3"

projects[i18n][version] = "1.7"

projects[token][version] = "1.4"

projects[variable][version] = "2.1"

projects[citizens_connected][type] = "module"
projects[citizens_connected][download][type] = "git"
projects[citizens_connected][download][url] = "http://git.drupal.org/sandbox/sebsebseb123/1632620.git"
projects[citizens_connected][download][branch] = "7.x-1.x-dev"
projects[citizens_connected][download][revision] = "022032757fe850eddf4a3f72efa357de763231f5"

sebsebseb123’s picture

Ok, so I've create a base install profile on github:

https://github.com/sebsebseb123/citcon_starter

...it doesn't work yet :S

But, all the right files are there and setup properly. The reason it's not working is because citcon install keeps failing at points... either unmet/unset dependancies, etc...

A bit of troubleshooting through this, a few patches later, and it should be up and running.

langworthy’s picture

It will be great to have the citcon set of modules available in a Drupal distribution/install profile format!

I would recommend naming the distribution "Citizens Connected" and the citcon set of modules something along the lines of "Citizens Connected Features". This would be in line with the naming conventions for other Drupal distributions. Open Atrium/Atrium Features, Conference Organizing Distribution/COD Support, Drupal Commons/ (individual commons_* modules. I would recommend the machine name of citizensconnected.

In the example profile linked to in GitHub, the file build-citcon_starter.make is downloading the citcon set of modules where it should be downloading the distribution itself. In this case, line 8 should read: projects[citcon_starter][download][url] = "https://github.com/sebsebseb123/citcon_starter.git"

The build process seems overly complex. The project should be able to be cloned into public_html/profiles (the only directories) and then from public_html/ you should be able to run drush make --prepare-install profiles/citcon_starter/build-citcon_starter.make --yes

I've never seen any build steps involving tacking on data to a settings.php within a drupal.org project. I think these should be removed and can instead be used by any individuals build process. I think it's important that the structure and steps to use this distribution be close to other drupal projects.

It's not the responsibility of a drupal project to ignore various file formats in .gitignore. In fact, the three distributions I listed above have no .gitignore file. This allows developers to add their own ignore file as they extend the distribution.

How would you like to continue development of this distribution? Will you accept pull requests on GitHub or maybe we can set it up as a sandbox/full project on drupal.org.

langworthy’s picture

Also, modules in D7 install profiles are installed using the .info file.

I've forked your GitHub project and refactored it down to make it a more simple starting off point in line with other Drupal distributions.

https://github.com/sprice/citizensconnected

It installs and seems to work great.

langworthy’s picture

We can probably remove panels as it is not a dependency.

langworthy’s picture

Status: Active » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.