-
Notifications
You must be signed in to change notification settings - Fork 0
Example
We have a Project that contains
- Java Server
- Website PHP Backend
- Website Frontend using Angular
We are using postgres, memcache and rabbitmq in this project.
this project is hosted on a company gitlab and uses the gitlab ci to build. to make things easier, all services are in the same repository just in different folders. so we don't need different checkouts in this case. to get this project running we need to do the following.
- building the gameserver
make all - building the jar
make fat-jar - updating the php backend
composer update - updating the Frontend
ng build
in this case we have also a Makefile in the root folder that will do all these things, and this makefile is also working fine for this example.
there is just one issue. the build is not working because all integration tests are failing because you need to start all the services. postgres, memcache and rabbitmq.
so we just need to setup these, and because we don't need these services except for this project, we are using docker to provide these services. we doing this in a seperate folder and using docker-compose.