This repo is made to ease work with multiple connected Masks apps & services.
- Install
meta
plugin
$ npm i -g meta
- Clone this repo
$ meta git clone [email protected]:areffects/masks.meta.git
- Create new branch (USE
develop
AS BASE!!!)
$ meta git checkout develop
$ meta git checkout -b <YOUR_BRANCH_NAME>
- Prepare ENVs for internal apps & services
To copy all default env files run this:
$ cp ./masks.be/.env.example ./masks.be/.env
$ cp ./masks.fe.landing/.env.example ./masks.fe.landing/.env
$ cp ./masks.fe.market/.env.example ./masks.fe.market/.env
-
Run script
$ yarn
in
masks.be/
masks.fe.landing/
masks.fe.market/
folders
-
Start apps & services using
docker-compose
For development
$ yarn up:dev
For production
$ yarn up:prod
1 Perform required changes in source code
2 Add, commit (space after -m
is important)
$ meta git add .
$ meta git commit -m "<COMMIT_MESSAGE>"
2.1. If you are pushing first time - push with upstream
$ meta git push origin -u <YOUR_BRANCH_NAME>
2.2. Otherwise - just push
$ meta git push
To setup vault you need to login here
All config here
./dockerfiles/vault/config