Creating a Drupal site [OKD, Temporary]

You can create a drupal site from scratch by following a few simple steps. A drupal site is connected with an OpenShift project, which can have multiple drupal sites. Note that a project (and all drupal sites in it) has a single owner and SSO registration.

From the OpenShift console

1. Go to the OpenShift console page

Check on the left side menu that the Administrator option is selected (and not Developer).

2. Create a new OpenShift project by clicking Create Project and fill in the information

  • Name: Enter the name of your project.
  • Display Name [optional]: Enter the display name of the project.
  • Description: Enter a description of your site.

openshift_console-create_project_fill

3. Click on Installed Operators on the left side menu

Make sure that you are in the correct Project. At first you will see a message “No Operators Found”. Please wait a couple of minutes until the “DrupalSite Operator” appears as shown in the screenshot below.

4. Click on Create Drupal website on the latest DrupalSite Operator

5. Click on Create DrupalSite

6. Fill in the information to create a Drupalsite

A lot of fields here will soon have sensible defaults so that you don’t have to decide. For each field we provide a suggestion, and most fields can be ignored.

  • Name: Suggestion: use the same as the project name.
  • Labels: Ignore this field.
  • Site URL: This is the URL on which your website will be published. Must look like <mysite>.web.cern.ch and not be used already by another site. The default is <projectname>.web.cern.ch

7. Click on Configuration to expand the options panel with the default values

Configuration allows you to define different configuration values for your Drupalsite

  • Clone From: Ignore this field
    • CloneFrom initializes this environment by cloning the specified DrupalSite (usually production), instead of installing an empty CERN-themed website.
  • Database Class: Default: standard
    • Select the kind of database that the website needs.
  • Disk Size: Default: 2000Mi i.e ‘2Gi’,
    • Change the field to a desire value, if your site has many more files
  • Extra Configuration Repo: Ignore this field
    • Provide additional settings to your website in a git repository.
  • Quality of Service class: Default: standard
    • Request appropriate default configurations and resources for the requirements of your website.
  • Web DAV Password: Ignore this field

8. Click on Version to expand the options panel with the default settings

Version refers to the version and release of the CERN Drupal Distribution that will be deployed to serve this website. Changing this value triggers the website’s update process.

  • Name: Select the desired version of the branch of CERN Drupal Distribution.
  • Release Spec: Ignore this field.

openshift_console-create_drupalsite_version_fill

9. Click on Create button

openshift_console-create_button

To finish your drupal site, setup the authorization here.

Keep in mind that related sites (production, development, test) can be grouped under a single project starting from Step 3.

5 posts were split to a new topic: Feeback for creating a Drupal site

deprecated, to remove