Skip to content

treeton-org/main

Repository files navigation

Main

cover

Installation

yarn install && yarn env

Start development

yarn start

Build production and run on localhost

yarn prod

Build production

yarn build

Remove build

yarn rm

Linter

yarn lint

Prettify code using linter

yarn fix

Up local

Up infrastructure

docker network create traefik
docker compose --env-file .env.local up

Deploy on server

Set secrets

  • SSH_DEPLOY_PRIVATE_KEY - e.g. AAAwEAA ...

Push code and check GitHub actions

GitHub action

Docker network scheme

flowchart TD
    %% Traefik
    traefik(traefik)-->|traefik|nginx(nginx)

subgraph Main
    nginx(nginx)
end
Loading