Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Framework for the Fitzwilliam Museum website

DOIORCiD

This repository contains the code base for a Laravel based front end for the latest version of @fitzwilliammuseum website.

The front end is very simple and uses Bootstrap latest framework, latest JQuery and various libraries to interface with a headless API provided by our installation of the @directus 8 system, Solr and ElasticSearch endpoints.

The models in this system point at an API rather than a database.

Data sources

Data comes from various systems and API endpoints.

  1. Main content - Directus Headless CMS
  2. Search content - SOLR 8.11.1 instance
  3. Collections content - CIIM version 5 ElasticSearch instance from Knowledge Integration, standard mappings and the nascent API
  4. Twitter - API driven
  5. Shopify - FME systems queried and indexed daily into SOLR
  6. Sketchfab
  7. Google Poly deprecated as of June 2021
  8. Instagram

Cache

In production, we use REDIS. Locally use File based caching unless you want to install REDIS.

installation

  1. Install php 8.1 into your environment
  2. Install composer and then do the following
$ git clone https://github.com/FitzwilliamMuseum/fitz-main-website
$ cd fitz-main-website
$ composer install
$ cp .env.example .env
$ nano .env
$ npm install 

Fill in variables for your instance (Cache etc)

If you are running locally you can preview the website via:

$ php artisan serve

License

GPL V3

Contributors

Daniel Pett @portableant