Euphrosyne Digilab is a platform that catalogs research data from projects conducted at New AGLAE, the particle accelerator located in the basement of the Louvre Palace. It allows searching for data from these projects by keywords, materials, date, or geographical area.
The project is currently under development. A production version will be available soon containing data from selected projects only.
The project is built with Next.js and its static site generation. The code is written in TypeScript.
The data required for page generation is retrieved from an Opensearch/Elasticsearch instance, which is synchronized with Euphrosyne (site | repo). The data catalog page queries are made through an API available on Euphrosyne.
-
Clone the project:
git clone https://github.com/betagouv/euphrosyne-digilab
-
Install dependencies:
npm install
-
Copy the
.env.examplefile to.env.developmentand fill in the values. -
Launch the euphrosyne webserver. The environment variable
NEXT_PUBLIC_EUPHROSYNE_HOSTmust point to the Euphrosyne application URL. For example http://localhost:8000. -
Launch the Elasticsearch / Opensearch instance. It contains the catalog data and is used to generate pages during build time. See Euphrosyne documentation.
-
Launch the development server:
npm run dev
-
Copy the
.env.examplefile to.env.productionand fill in the values. -
Build the pages:
npm run build
on/deploying) for more details.