/Session-FlyViews-Source-Site-platform

Demo material for Session #FlyViews. Drupal website that provides some content through a REST server.

Primary LanguageShell

Session #FlyViews Source website

This is an example Drupal website that used by Session #FlyViews as a demo material. It provides some content through a REST server.

I want to install the site!

Great! You need Drush and Drush Make installed on your computer to be able to build the code base for the website. Other than these the usual environment is required for running a Drupal website.

How does the installation look like?

The repository contains a makefile that downloads Drupal core and the installation profile for the website, which is a separated repository. This profile also contains a makefile, that Drush Make will detect and run, so all the contrib modules will be downloaded what we need. The site configuration is also shipped with the profile bundled to features.

All right, give me the steps!

  1. Clone the repository.

  2. Run the build script. (If you want to rebuild, you also just need to run the script, don't have to do anything else, it removes the web folder, but preserves your sites folder.)

  3. Install the site manually from your favorite browser choosing the #FlyViews Source installation profile, or run the following command inside the web folder:

     drush site-install source_flyviews --site-name="#FlyViews Source" --account-pass=admin -y
    

    (For your convenience this will set the admin password to admin, and you will not need to confirm anything.)

  4. Enjoy!