Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

turniere/turniere-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b843179 · Jul 2, 2020
Jun 20, 2019
Nov 8, 2019
Jun 20, 2019
Jun 20, 2019
May 8, 2019
May 9, 2019
Apr 8, 2019
Jul 2, 2020
Dec 11, 2018
May 12, 2019
Jun 4, 2019
May 8, 2019
Nov 7, 2018
Jun 18, 2019
May 29, 2019
Oct 29, 2019

Repository files navigation

turniere-frontend

Codacy Badge

Quick install with Docker

turnie.re - Quickstart

Development Setup

Prerequisites

You'll need Node.js and a package manager for Node.js (like npm or Yarn; We recommend Yarn) installed on your system in order to run this program. You can see how to install Node.js here.

Setup the Project

First of course you'll need to clone this repository:

$ git clone https://github.com/turniere/turniere-frontend.git

Afterwards you'll have to install the used libraries using following command:

$ yarn install

Then you can run the development server by executing:

$ TURNIERE_API_URL=https://api.example.com yarn run dev

The environment variable TURNIERE_API_URL must contain an valid url to a turniere backend server.

In production environment the server runs on port 80, otherwise on port 3000.

Production Setup: Build the Docker Container

$ docker build -t turniere-frontend .

The built container exposes port 80.