Update 'docs/install.md'

This commit is contained in:
naomi 2022-03-02 08:46:21 +01:00
parent 626cd44532
commit 40fd34b114

View File

@ -2,12 +2,15 @@
* Clone the repo * Clone the repo
* `composer install` * `composer install`
* Configure your local web server to serve the `web` directory as a site
* `mkdir web/sites/default/files` * `mkdir web/sites/default/files`
* `chgrp www-data -R web` * `chgrp www-data -R web`
* `chmod g+w -R web/sites/default/files` * `chmod g+w -R web/sites/default/files`
* Create database & run the web installer (choose "Standard") * Create a database
* drush config-set system.site uuid 8061a200-27ed-4d40-8fc0-e239276e66dd * Go to the local url and run the web installer (choose "Standard")
* `drush config:delete shortcut.set.default` * `cd` to the `web` directory
* `drush config:import --source ../config` * `vendor/bin/drush config-set system.site uuid 8061a200-27ed-4d40-8fc0-e239276e66dd` (this is so that the config will import, as it will only import if the uuid is the same as the site it was generated from)
* In the GUI go to Structure->Content As Config and import all the taxonomy terms * `vendor/bin/drush config:delete shortcut.set.default` (it always complains about the shortcut set already existing when you try to import the config)
* `vendor/bin/drush config:import --source ../config`
* ~In the GUI go to Structure->Content As Config and import all the taxonomy terms~ Not sure if this is working
* Appearance->Settings->Bartik and just save what's in there (to regenerate css) * Appearance->Settings->Bartik and just save what's in there (to regenerate css)