Skip to content

lies-exposed/lies.exposed

Repository files navigation

lies.exposed

GitHub issues GitHub pull requests

GitHub Workflow API Status GitHub Workflow Web Status GitHub Workflow Web Status

GitHub Workflow Deploy Alpha Status


Project Structure

The project is built using yarn workspaces and divided in packages and services.

Packages

Packages contains all the common code used in services.

Services

The services are the deployable projects:

Develop

The local development require some modules to be installed on your machine:

  • node
  • yarn
  • docker
  • docker-compose

The easiest way to run the project is by using docker-compose. The docker-compose.yml contains all the definitions to run the needed services.

If you want to start developing with docker-compose:

docker-compose build # build base image
docker-compose up -d db # starts db in background
docker-compose up api web admin-web data # starts api, web, admin-web and data services

N.B.: you need to run yarn api watch in another shell to make the api container to trigger restart event

Build

yarn build

Run with docker

Build the images first with

# build `base`, `api` and `web` image
./scripts/docker-build.sh
# start docker compose for `deploy/docker-compose.yml`
./scripts/docker-deploy-test.sh