Giter VIP home page Giter VIP logo

hm-public's Introduction

The HistoryMakers Public Site

This project repository contains the Drupal 8 scaffolding for the public THM site. In addition, it includes Drupal VM as a composer dependency.

Getting started

  1. Ensure you have the following dependencies installed on your machine:
    • PHP 7
    • Composer >= 1.2.3
    • Ansible >= 2.3.1.0
    • Vagrant >= 1.9.0
  2. From your terminal, clone the repository locally using git clone [email protected]:sardell/hm-public.git.
  3. From the root of the project, install all Composer dependencies by running composer install.
  4. Inside the config folder, create a new file called local.config.yml and add the following, keeping in mind to fill in the path to your project locally without the double curly braces:
vagrant_synced_folders:
  # The first synced folder will be used for the default Drupal installation, if
  # any of the build_* settings are 'true'. By default the folder is set to
  # the drupal-vm folder.
  - local_path: {{ YOUR_PATH_TO_HM-PUBLIC_PROJECT }}
    destination: /var/www/drupalvm
    type: nfs
    create: true
  1. Front the root of the project, run vagrant plugin install vagrant-bindfs in your terminal.
  2. From the root of the project, run vagrant up in your terminal. the first time you run the command, Drupal VM will create a new virtual machine for you. This will take a few minutes to download and setup.
  3. Visit http://dashboard.hm-public.dev/ to take a look at the VM dashboard. From there, you will find links to the following
    • The Drupal site itself.
    • The database management UI (uses Adminer).
    • A page for viewing log files on the Apache server.(uses Pimp my log).
  4. Import the current development database (contact someone within the dev team for this).
  5. If you need access into the VM, run vagrant ssh from the project root.

Managing Drupal dependencies with Composer

If you would like to add a new core dependency to the project, we use Composer to do so. For example, if you wanted to add the Migrate Tools module, you would run:

composer require drupal/migrate_tools

This allows us to easily manage and share dependencies between a team of developers.

hm-public's People

Contributors

sardell avatar adamkrone avatar nbajwa3 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.