Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Latest commit

 

History

History
94 lines (59 loc) · 1.19 KB

CONTRIBUTING.md

File metadata and controls

94 lines (59 loc) · 1.19 KB

Contributing

Instruction of run project in development mode

Installation

  • Clone repository
git clone https://github.com/kolserdav/werift-sfu-react.git
cd werift-sfu-react
  • Run database via docker-compose [optional if you system have mysql database (but required create database like DATABASE_URL in packages/server/.env)]:
docker-compose up -d
  • Install dependencies
npm i

Settings

  • At first run need set up .env files, for fast copy run:
npm run env

then set up packages/server/.env and packages/client/.env files

  • Run migrations to database:
npm run db

Start

Start on development mode:

npm run dev

Development for tests

Config examples:

SSL certificate is required ./SSL.md


Build server:

npm run build:server

Build client:

npm run build:client-react

or build server and client:

npm run build:react

Start on production:

npm run start

Tests

See file docs/TESTS.md