Installation from Sources

Installation of Slurm-web from sources is not recommanded for most users, please prefer supported distribution packages. This procedure is intended to developers who want to contribute to Slurm-web.

Download Slurm-web source code:

  • From Git repository:

    $ git clone https://github.com/rackslab/slurm-web.git
  • From release source archive, for example v4.0.0:

    $ curl -L https://github.com/rackslab/slurm-web/archive/refs/tags/v4.0.0.tar.gz | tar -xzf-

Move into the source tree and install Slurm-web and Python packages dependencies from PyPI:

$ pip install -e .

Install Slurm-web frontend application dependencies from npm repositories:

$ cd frontend && npm ci

Launch Slurm-web agent:

$ slurm-web-agent

Launch Slurm-web gateway:

$ slurm-web-gateway

Launch Slurm-web frontend:

$ cd frontend && npm run dev