Screencast code, script and Drupal nodes behind "Drupal 8: Under the Hood"
PHP JavaScript HTML Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_tuts
core
knpu
modules
profiles
sites
themes
.csslintrc
.editorconfig
.eslintignore
.eslintrc
.gitattributes
.gitignore
.htaccess
LICENSE.txt
README.md
autoload.php
composer.json
composer.lock
finished_database.sql
index.php
robots.txt
update.php
web.config

README.md

Drupal 8 Under the Hood!

You're viewing the code - in all its glory for the KnpUniversity Tutorial: https://knpuniversity.com/screencast/drupal8-under-the-hood.

Installation

We start this tutorial from scratch: by installing Drupal. But, you can get this code up and running by doing the following:

Download Composer dependencies

Make sure you have Composer installed and then run:

composer install

You may alternatively need to run php composer.phar install, depending on how you installed Composer.

Setting up the Site & Database

This code comes from a pre-built Drupal site, which means we've already completed the installation process and have a database.

First, check that the database settings in sites/default/settings.php are correct for your system.

Then, import the database dump - finished_database.sql - into your database.

Start the built-in web server

You can use Nginx or Apache, but the built-in web server works great:

php bin/console server:run

Now check out the site at http://localhost:8000

Have fun!