- Clone this repository.
- Run 'composer install' in the document root.
- Copy
web/sites/default/default.settings.local.php
intoweb/sites/default/settings.local.php
. - Open web/sites/default/settings.local.php and adjust the database connection. Create the database manually.
- Download a database dump from Jenkins (ask the maintainers for the URL).
- Install Drupal and then import the database with the following commands:
cd /path/to/repository/root
drush sql-cli < dcamp2018.sql
drush updb -y
drush cim sync -y
drush cr
drush en stage_file_proxy -y
- Create a virtual host like
dc2018.local
and point it to the web directory of this project. If you choose a different hostname, then adjusttrusted_host_patterns
atsettings.php
accordingly. - Open the homepage as administrator with
drush uli
.
Run git checkout master && git pull
. Then repeat steps 5 onwards from the above section.
- Go to web/themes/dcamp_base_theme
- Run 'npm install' (you might need to install node/npm first)
- Install LiveReload for chrome (https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en)
- Run 'gulp' in the terminal
- Activate LiveReload in chrome
- Happy styling!