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 86c359f0d1 removed config as it's now in module 2022-04-22 10:04:17 +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 Updated project 2022-04-08 13:28:05 +02:00
composer.json Added a sample report with csv download 2022-04-21 13:36:18 +01:00
composer.lock Merge branch 'master' of ssh://git.autonomic.zone:2222/autonomic-cooperative/opencase_composer 2022-04-22 09:35:47 +01:00
pull_project.sh Added push_project script 2022-04-08 12:24:29 +01:00
push_project.sh Updated project 2022-04-08 13:28:05 +02: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)
  • drush config:import --source ../config
  • Appearance->Settings->Bartik and just save what's in there (to regenerate css)

dev

To export the config run: drush config:export --destination=../config

To clear cache run: drush cr