There is three different ways based on your development environment.
If you want a database dump, here is one: https://drupalnorge.no/sanitized.db
-
Clone this repository. For example with:
git clone [email protected]:drupalnorge/drupalnorge-social.git
-
cd
into the repository root. Install the composer dependencies. For example with:composer install
-
Install drupal. You can do this however you want. One way is to use drush:
drush site-install --db-url=mysql://USER:PASS@HOST/DATABASE
We have a ready configuration file for Lando development environment for you. However, you can change the configuration .lando.yml
-file you want.
-
Clone this repository. For example with:
git clone [email protected]:drupalnorge/drupalnorge-social.git
-
cd
into the repository root and start the development environment bylando start
. (NOTE: The configuration file has already included a step automatic such ascomposer install
right after starting the development environment) -
Install drupal. You can do this however you want. One way is to use drush:
lando drush site-install --db-url=mysql://USER:PASS@HOST/DATABASE
We have a ready configuration file for DDEV development environment for you. However, you can change the configuration .ddev/.config.yaml
-file you want.
-
Clone this repository. For example with:
git clone [email protected]:drupalnorge/drupalnorge-social.git
-
cd
into the repository root and start the development environment byddev start
. (NOTE: The configuration file has already included a step automatic such ascomposer install
right after starting the development environment) -
Install drupal. You can do this however you want. One way is to use drush:
ddev exec drush site-install --db-url=mysql://USER:PASS@HOST/DATABASE
Refer to this guide: https://www.drupal.org/docs/8/distributions/open-social/installing-and-updating