Skip to content

wenex-org/client-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

git clone [email protected]:wenex-org/client-backend.git
cd client-backend
cp .env.example .env

# Clone git submodules
npm run git:clone
npm run git checkout main

# Install node dependencies
pnpm install --frozen-lockfile

Next Step:

Add Remote (Optional)

npm run git:remote:add staging example.com

Note: stage must be staging or production.

Start Essential Utilities

docker-compose -f docker/docker-compose.yml up -d
# The other `yml` files in `docker` directory are optional

DB Seeding and Initialization

Using Docker

Note: run docker build -t wenex/client-backend:latest . before using docker solution.

docker-compose --profile platform-seed up
docker-compose --profile platform-raise up
# docker-compose --profile platform-clean up

Manual Seeding

npm run platform:seed
npm run platform:raise
# npm run platform:clean

Coworkers Seeding

Manual:

npm run coworkers:seed
npm run coworkers:raise
# npm run coworkers:clean

Using Docker:

docker-compose --profile coworkers-seed up
docker-compose --profile coworkers-raise up
# docker-compose --profile coworkers-clean up

Start Up and Running using Docker

Note: run docker build -t wenex/client-backend:latest . before using docker solution.

Start all services at once

docker-compose --profile client up -d

Manually Start Up and Running Client

Start each service you want using the following command

# Gateway
npm run start:dev gateway
#npm run start:debug[2] gateway

# Services
npm run start:dev services
#npm run start:debug[2] services

# Workers
npm run start:dev workers
#npm run start:debug[2] workers

Serve static files located at the assets directory

npm run serve:static

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5