Skip to content

Commit d2ea21d

Browse files
authored
Merge pull request #96 from CodelyTV/part_five-criteria_pattern
Part five criteria pattern
2 parents abbe873 + 77f31cf commit d2ea21d

File tree

56 files changed

+991
-212
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+991
-212
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ start-mooc-backend: build
3838
start-backoffice-frontend: build
3939
docker-compose up $(BACKOFFICE_APP_NAME)-frontend && docker-compose down
4040

41+
# Start backoffice backend app
42+
start-backoffice-backend: build
43+
docker-compose up $(BACKOFFICE_APP_NAME)-backend && docker-compose down
44+
4145
# Clean containers
4246
clean:
4347
docker-compose down --rmi local --volumes --remove-orphans

cypress.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"testFiles": "**/*.cypress.*",
66
"integrationFolder": "tests/apps",
77
"fixturesFolder": "tests/utils/cypress/fixtures",
8-
"pluginsFile": "tests/utils/cypress/plugins/index.ts"
8+
"pluginsFile": "tests/utils/cypress/plugins/index.ts",
9+
"experimentalStudio": true
910
}

docker-compose.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919

2020
mooc-backend:
2121
<<: *default-app
22-
command: bash -c "npm run build && npm run start"
22+
command: bash -c "npm run build && npm run start:mooc:backend"
2323
ports:
2424
- 3000:3000
2525

@@ -29,6 +29,12 @@ services:
2929
ports:
3030
- 8032:8032
3131

32+
backoffice-backend:
33+
<<: *default-app
34+
command: bash -c "npm run build && npm run start:backoffice:backend"
35+
ports:
36+
- 3001:3000
37+
3238
mongo:
3339
image: mongo:3.4.6
3440
volumes:

0 commit comments

Comments
 (0)