Skip to content

How to set up the CERN Academic Training Website locally

  1. CERN Login and being member of the WebEOS project academictraining-website-docs are required in order to proceed.
  2. Clone the GitHub repository from here.
  3. Install dependencies from below.

1. Prerequisite

Install pre-commit and afterwards run

$ pre-commit install

Install poetry

$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
  • Check if it is installed by
$ poetry --version

Install yarn

$ npm install --global yarn
  • Check if it is installed by
$ yarn --version

2. Virtual Environment

Set up your virtual environment (VM). The instructions to create a new VM can be found here.


3. Backend

$ cd backend
$ poetry install

4. UI

$ cd ui
$ yarn install