This is a site built to provide the functionality detailed in the CFR web developer test document.
Both Docksal and a docker-compose based installation system have been provided. Feel free to use whichever you are more familiar with. Docker-Compose system has been tested against the most recent Ubuntu Linux LTS (16.04).
This is a one time setup - skip this if you already have a working Docksal environment.
Follow Docksal environment setup instructions
-
Initialize the site
This will initialize local settings and install the site via drush, along with installing the CFR module automatically.
fin init
-
On Windows add
192.168.64.100 drupal8.docksal
to your hosts file -
Point your browser to
http://cfr.docksal
-
Using the links in the main menu, access /cfr/demo or /cfr/alternate to view the functionality.
When the automated install is complete the command line output will display the admin username and password.
- Change directory to the
/docroot
folder. - Ensure that the /sites/default/files directory exists and that the settings.php file is writable.
- Run
docker-compose up -d
- If necessary, add drupal.docker.localhost to your hosts file.
- Access http://drupal.docker.localhost:8000/
- Follow the setup instructions for the Standard installation profile.
- When you reach the credentials page, the credentials are as follows:
- Database: drupal
- user: drupal
- password: drupal
- DB Host name: mariadb
- When you reach the credentials page, the credentials are as follows:
- Once site has been installed, via /admin/modules, enable the CFR module.
- Access /cfr/demo or /cfr/alternate to view the functionality.