This repo is made to ease work with multiple connected Masks apps & services.
- Install
metaplugin
$ npm i -g meta- Clone this repo
$ meta git clone git@github.com:areffects/masks.meta.git- Create new branch (USE
developAS 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:devFor production
$ yarn up:prod1 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 pushTo setup vault you need to login here
All config here
./dockerfiles/vault/config