{"id":15177439,"url":"https://github.com/sprak3000/drupal-composed","last_synced_at":"2025-10-01T16:31:22.884Z","repository":{"id":16752979,"uuid":"19510633","full_name":"sprak3000/drupal-composed","owner":"sprak3000","description":"A Composer package to get you up and running with Drupal and a key set of modules to create a multi-lingual site.","archived":true,"fork":false,"pushed_at":"2018-01-02T01:22:15.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T14:02:04.423Z","etag":null,"topics":["drupal"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sprak3000.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-06T21:01:52.000Z","updated_at":"2023-01-28T19:18:10.000Z","dependencies_parsed_at":"2022-09-22T14:43:22.672Z","dependency_job_id":null,"html_url":"https://github.com/sprak3000/drupal-composed","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2Fdrupal-composed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2Fdrupal-composed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2Fdrupal-composed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sprak3000%2Fdrupal-composed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sprak3000","download_url":"https://codeload.github.com/sprak3000/drupal-composed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234882646,"owners_count":18901303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal"],"created_at":"2024-09-27T14:22:24.152Z","updated_at":"2025-10-01T16:31:17.614Z","avatar_url":"https://github.com/sprak3000.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Composed\n\n***This repository has been archived and left as reference material. It is no longer maintained.***\n\nI have been developing [Drupal 7](http://drupal.org) sites, modules, and themes for a few years now at work.\nI have also been using [Composer](http://getcomposer.org) at work to manage dependencies for non-Drupal projects at work\nand at home. Increasingly, Drupal has become a dependency for the sites being worked upon. While Drupal 8 is wedded to\nmodern tools like Composer, the sad reality is most of us will still need to use D7 until D8 has been officially\nreleased and allowed to mature.\n\nEnter \"Drupal Composed\", my effort to create a Composer project that will install Drupal 7 with one easy command. This\npackage will install my [Linguo](http://simpsons.wikia.com/wiki/Linguo) installation profile, enable French and German\ntranslations, and use a [Bootstrap](http://getbootstrap.com/) theme for the site. My Linguo installation profile includes\nall the modules I have found useful in buildling a robust multi-lingual site.\n\n## Requirements\nThis project requires [Composer](http://getcomposer.org) and [drush](https://github.com/drush-ops/drush) to be globally\ninstalled on your server. You will also need the [drush language commands](https://drupal.org/project/drush_language)\ninstalled.\n\n## Usage\n\n### Install Linguo Drupal\nTo install the Linguo Drupal profile, run the following command replacing `/path/to/your/site`, `dbusername`,\n`dbpassword`, `dbserver`, and `dbname` with the appropriate values:\n\n```bash\n$ DRUPAL_ROOT='/path/to/your/site/public/' DB_URL_DRUPAL='mysql://dbusername:dbpassword@dbserver/dbname' composer install\n```\n\nOnce it has finished, you can setup a virtual host pointing to `/path/to/your/site/public`. Part of the installation output\nwill be a line with your Drupal administration credentials: `Installation complete.  User name: admin  User password: randomstringhere`.\n\n### Updating Linguo Drupal\nTo keep up with changes to Linguo, you can run the following command replacing `/path/to/your/site` with the appropriate values:\n\n```bash\n$ DRUPAL_ROOT='/path/to/your/site/public/' composer update\n```\n\n## Sample Apache virtual host configuration\n```ApacheConf\n\u003cVirtualHost *:80\u003e\n  ServerName www.example.com\n\n  DocumentRoot  /sites/drupal-composed/public/\n\n  FileETag none\n\n  RewriteEngine On\n\n  CustomLog ${APACHE_LOG_DIR}/www.example.com_access_log f5-combined\n\n  # Also send access and error logs to syslog with descriptive tag\n  CustomLog \"|/usr/bin/logger -t apache2-access-www.example.com -i -p local1.info\" f5-combined\n  ErrorLog  \"|/usr/bin/logger -t apache2-error-www.example.com -i -p local1.error\"\n\n  \u003cDirectory \"/sites/drupal-composed/public/\"\u003e\n    AllowOverride All\n\n    \u003cIfModule mod_rewrite.c\u003e\n      Options +FollowSymLinks\n      Options +Indexes\n\n      # FIRE UP THE ENGINES, CAPTAIN\n      RewriteEngine On\n\n      # NOTE: For the Drupal Scheduler module\n      # If we have scheduled asset paths, route them to the drupal index\n      RewriteCond %{REQUEST_FILENAME} -s\n      RewriteRule ^(/?(en|fr|de)/?)?sites/default/files/unpublished(.+\\.(jpg|jpeg|gif|png|txt|pdf|mp3|mov|m4v|mp4|mpeg|avi|wmv))$ index.php?relpath=$3 [NC,L]\n      RewriteCond %{REQUEST_FILENAME} -s\n      RewriteRule ^(/?(en|fr|de)/?)?sites/default/files/styles/[^/]+/public/unpublished(.+\\.(jpg|jpeg|gif|png|txt|pdf|mp3|mov|m4v|mp4|mpeg|avi|wmv))$ index.php?relpath=$3 [NC,L]\n\n      # Now check for an existing file/image/directory\n      # If found, just return that asset\n      RewriteCond %{REQUEST_FILENAME} -s [OR]\n      RewriteCond %{REQUEST_FILENAME} -l\n      RewriteRule ^.*$ - [NC,L]\n\n      # make sure that /en/ is at the start of the URL\n      # RewriteCond %{REQUEST_URI} !^/index.php$\n      # RewriteCond %{REQUEST_URI} !^/(en|fr|de)/?.*$\n      # RewriteRule ^/?(.*) /en/$1 [R,NE,L]\n\n      # if we get this far, hand it off to drupal (the root index.php script)\n      RewriteRule ^.*$ index.php [NC,L]\n    \u003c/IfModule\u003e\n\n    AllowOverride None\n\n    Order allow,deny\n    Allow from all\n  \u003c/Directory\u003e\n\u003c/VirtualHost\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprak3000%2Fdrupal-composed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsprak3000%2Fdrupal-composed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsprak3000%2Fdrupal-composed/lists"}