Skip to content

Installation

Lars Wächter edited this page Mar 28, 2020 · 12 revisions

The following introduction assumes you're using a Linux-based operating system or Docker. You can use other operating systems as well of course but currently we don't provide an introduction for that.

Prerequisits:

  • Node.js
  • MySQL
  • Redis
  • Yarn

Linux

Node.js

First of all make sure you have Node.js installed on your system. We highly recommend to use nvm which allows you to easily switch between Node.js versions.

Run one of the following commands to install nvm:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

Afterwards, you can install the latest version of Node.js:

nvm install node

MySQL

Next, install MySQL. Follow this introduction or run the following:

sudo apt update
sudo apt install mysql-server
sudo mysql_secure_installation

Redis

Redis is an in-memory data structure store which we use for Caching. Follow this guide or run the following:

sudo apt update
sudo apt install redis-server

Yarn

Yarn is our prefered package-manager. Follow their guide for installation or run:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

Docker

We assume that you run a working Docker and Docker-Compose environment on your system. Here you can find more about installing Docker and here how to install Docker-Compose.

Clone this wiki locally