codingdavinci.de relaunch 2018
Coding da Vinci is the first German open cultural data hackathon. Founded in Berlin in 2014, Coding da Vinci is a project that encourages and supports GLAM institutions (galleries, libraries, archives, museums) to share the digital records of their collections online under open licenses. It achieves this by making an extended hackathon-style event that brings those datasets (and the curators that manage them) into contact with the creative tech and open data communities, showing what can be possible when this kind of data is made open.
The website codingdavinci.de was launched in early 2014 in advance of the first Coding da Vinci event in Berlin, 26-27th April 2014. At that time, the website was built to communicate a single event, with the possibility that it might become a yearly event in Berlin. Since these beginnings, Coding da Vinci has grown from a single central annual event to a bigger project with multiple regional events, often running in parallel, managed by regional event teams, with growing collections of open datasets and the creative projects they have inspired. High time for a relaunch!
Contact: email@example.com (@lucyWMDE)
- Pull the repository contents.
composer install(using flag
--no-devin production environment) to download all required components available on packagist.org.
npm installto download all required packages available on npmjs.com.
gulp, which is installed through npm, to copy files loaded by npm to appropriate directories and to compile SCSS to CSS files.
- Configure the web root to point to the
- The CMS installation may be run by using a browser to access the web interface in the domain’s base path as configured in step 5. During the installation process, select the “Config Installer” installation profile to import configuration from
- To set up Matomo tracking, go to
Drupal nudges administrators about available security updates. When updating Drupal core or when applying a Drupal module’s new major version, a backup of the website’s files should be created. The database may be dumped to a file by running
vendor/bin/drush sql-dump using the drush command line shell. Updating is easiest using composer in combination with drush.
Updates should be applied in a development environment first: Run
composer update drupal/core webflo/drupal-core-require-dev --with-dependencies for minor version updates or
composer require <component>:<new version constraint> for major version updates. After ensuring that the update works properly, push the changes to the
composer.lock file to the repository.
Updating npm packages is similar: Run
npm update for minor version updates or
npm install <package name>@<version constraint> for major version updates. Run
gulp to ensure updated files are copied to their appropriate places. After ensuring that the update works properly, push the changes to the
package-lock.json file to the repository.
In the production environment, pull the updated repository and run:
composer installto synchronize composer components.
npm installto synchronize npm packages.
gulpto copy updated npm package files to their appropriate places.
vendor/bin/drush updatedbto run potential database updates.
vendor/bin/drush crto rebuild the cache.
Never run composer commands other than
composer install --no-dev and npm commands other than
npm install in production environment!
- For detailed instructions on how to update Drupal core, see https://www.drupal.org/docs/8/update/update-core-via-composer.
- For instructions on how to update contributed Drupal modules, see https://www.drupal.org/docs/8/update/update-modules.
The site’s configuration is stored in the repository for having it applied when installing the project. Eventually, site maintainers will change configuration in the production environment. In order for plain development installations to be configured properly, it is recommended to sync back configuration changes made in production to the repository from time to time by exporting the configuration and pushing it to the repository. Configuration may be exported by running
vendor/bin/drush cex, which will overwrite the files in
../config/sync. Those files would need to be pushed to the repository.