Composer setup for opencase with only the core module
This repository has been archived on 2022-07-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file Use this template
naomi 6ad84cfa84 added "contextual filters or" module, updated oc 2022-05-13 13:22:06 +01:00
docs moved installation instructions to README.md 2022-03-02 07:48:01 +00:00
.drone.yml Update '.drone.yml' 2022-03-22 10:17:54 +01:00
.gitignore Added push_project script 2022-04-08 12:24:29 +01:00
README.md Update 'README.md' 2022-05-12 18:47:50 +02:00
composer.json added "contextual filters or" module, updated oc 2022-05-13 13:22:06 +01:00
composer.lock added "contextual filters or" module, updated oc 2022-05-13 13:22:06 +01:00

README.md

Installation

  • Clone the repo
  • composer install
  • Configure your local web server to serve the web directory as a site
  • mkdir web/sites/default/files
  • cp web/sites/default/default.settings.php web/sites/default/settings.php
  • chgrp www-data -R web
  • chmod g+w -R web/sites/default/files
  • chmod g+w web/sites/default/settings.php
  • Create a database
  • Go to the local url and run the web installer (choose "Standard")
  • drush config-set "system.site" uuid "0c85ec7c-68f9-419f-92bb-d9a3a256ca23" (this allows you to import & export config to other sites built using this repo)
  • drush config:delete shortcut.set.default (it always complains about the shortcut set already existing when you try to import the config)
  • Import the config from the opencase module by going (in a terminal) to web/modules/contrib/opencase and then running ./pull_project.sh
  • Appearance->Settings->Bartik and just save what's in there (to regenerate css)