- Node
- Docker
- Yarn
This project utilizes Lerna with Yarn workspaces enabled
Install package dependencies
yarn install # or `yarn`
Start Docker dependencies
make dev
Run application
yarn start
The application running at http://localhost:3000 will automatically open in your default browser
build
is automatically run for all packages during the deploy process when
running certain Makefile commands
yarn build # or build:release
Requires:
- aws-cli
- Xcode command line tools (OSX)
The Makefile makes a few assumptions. Mainly that you will be using
AWS as the cloud provider, and pushing the docker images to ECR (deploy config
must be defined in deploy.env
).
Publish stage build:
make pkg=<package> stage # image version published as `latest_uat`
Publish production build:
make env=production pkg=<package> release # image version published as `latest` and package.json version
make up
Manually update a running service (assumes you already re-built the project package):
docker-compose up --build --force-recreate --no-deps <service> # 'client', 'server', etc.
- Each package name is prefixed a common project name e.g.
@fintruth-sdk/server
- Each package has a
src
directory where all source files are placed - Each package has a "build" script, which is triggered by
lerna run build