Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
(add) yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sckv committed Apr 28, 2020
1 parent 29d6fdc commit 3bdd544
Show file tree
Hide file tree
Showing 12 changed files with 1,844 additions and 11,032 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# AlmeriaJS - Introduction DDD

To try the repo you need `docker` installed.
To try the repo you need `yarn` and `docker` installed. Both of them are obligatorily needed.

```bash
$ yarn install
$ docker-compose up
```
5 changes: 5 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ services:
- local
volumes:
- ./packages/accounting:/usr/src/app:delegated
- ./node_modules:/usr/src/app/node_modules:delegated
depends_on:
- db
command: 'npm start'
Expand All @@ -45,6 +46,7 @@ services:
- local
volumes:
- ./packages/billing:/usr/src/app:delegated
- ./node_modules:/usr/src/app/node_modules:delegated
command: 'npm start'
env_file:
- ./.env
Expand All @@ -58,6 +60,7 @@ services:
- local
volumes:
- ./packages/ordering:/usr/src/app:delegated
- ./node_modules:/usr/src/app/node_modules:delegated
depends_on:
- db
command: 'npm start'
Expand All @@ -73,6 +76,7 @@ services:
- local
volumes:
- ./packages/products:/usr/src/app:delegated
- ./node_modules:/usr/src/app/node_modules:delegated
depends_on:
- db
command: 'npm start'
Expand All @@ -88,6 +92,7 @@ services:
- local
volumes:
- ./packages/graphql:/usr/src/app:delegated
- ./node_modules:/usr/src/app/node_modules:delegated
depends_on:
- accounting
- billing
Expand Down
Loading

0 comments on commit 3bdd544

Please sign in to comment.