Skip to content

Getting Started

Cedric Schwyter edited this page Oct 24, 2022 · 1 revision

Getting the source

git clone https://github.com/d3psi/lumium

External dependencies

Install the following dependencies:

Installing dependencies

The following dependencies must be installed:

  • nodejs
  • postgresql
npm install --global yarn

Use node version 16 or above

nvm install 16
nvm use 16

Installing dependencies

Run in ./lumium directory (repository root directory):

yarn install

Setup database and test database

sudo service postgresql start
sudo -u postgres psql
CREATE ROLE development WITH LOGIN ENCRYPTED PASSWORD 'development';
CREATE DATABASE lumium WITH OWNER development;
CREATE DATABASE lumium_test WITH OWNER development;
exit

Start application

Run in ./lumium directory

yarn run dev