Skip to content

dataoverheid/drupal-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data.overheid Drupal

This repository contains the Drupal installation which is used for data.overheid.nl.

Requirements

See https://www.drupal.org/docs/system-requirements for details about Drupal's requirements and the composer.json file for more specific version requirements on this project.

Setting up a new project

1. Download all requirements with composer

Download the latest source code and open a terminal in the root directory. Using the following composer command you can download all the required libraries for this project.

composer install

2. Site installation

Once Composer is finished downloading all the required dependencies, you can do a full site installation using Drush.

drush si --db-url=mysql://{db_user}:{db_pass}@localhost/{db_database_name} --account-name={username} --account-pass={user_pass}  --site-name='Data overheid'

3. Config import

The final step of setting up your Drupal instance requires you to do a configuration import. The initial configuration import should be run twice to make sure that the environment specific configuration is also imported.

drush cim -y
drush cim -y
drush config-set system.site page.front /home

Updating an existing project

To update an existing project to the latest version you should checkout the latest source code and run the following commands.

composer install
drush updb -y
drush cim -y
drush cr

Installing the theme

To generate the theme assets. Navigate to the theme folder, install the required npm modules and run gulp to compile the source files.

cd drupal/themes/custom/koop_overheid
npm install
gulp build

About

The Drupal 8 codebase powering data.overheid.nl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published