Skip to content

Latest commit

 

History

History
49 lines (23 loc) · 2.39 KB

README.md

File metadata and controls

49 lines (23 loc) · 2.39 KB

Drupal Norge Open Social

Build Status

Installation

There is three different ways based on your development environment.

If you want a database dump, here is one: https://drupalnorge.no/sanitized.db

a) Your own development environment

  1. Clone this repository. For example with: git clone [email protected]:drupalnorge/drupalnorge-social.git

  2. cd into the repository root. Install the composer dependencies. For example with: composer install

  3. 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

b) Using Lando as a development environment

We have a ready configuration file for Lando development environment for you. However, you can change the configuration .lando.yml-file you want.

  1. Clone this repository. For example with: git clone [email protected]:drupalnorge/drupalnorge-social.git

  2. cd into the repository root and start the development environment by lando start. (NOTE: The configuration file has already included a step automatic such as composer install right after starting the development environment)

  3. 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

c) Using DDEV as a development environment

We have a ready configuration file for DDEV development environment for you. However, you can change the configuration .ddev/.config.yaml-file you want.

  1. Clone this repository. For example with: git clone [email protected]:drupalnorge/drupalnorge-social.git

  2. cd into the repository root and start the development environment by ddev start. (NOTE: The configuration file has already included a step automatic such as composer install right after starting the development environment)

  3. 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

Upgrading open social

Refer to this guide: https://www.drupal.org/docs/8/distributions/open-social/installing-and-updating