-
Notifications
You must be signed in to change notification settings - Fork 0
Packages
Packages are stored at /root/package folders. Almost all of them are running in docker-containers.
First of all you should have all the things installed/configured from this page.
Then you should install all the dependencies for our packages:
lerna bootstrapWhen you got it installed you can build all packages from our repository.
To build all of them go to repository's root folder and run:
yarn buildTo build specific one go to its folder (packages/package). As well as building all the packages you should run:
yarn buildThere are some cheats to it:
Here you can get all the neccessary things at our server.
[+] Show logs by package name
showlogs package[+] Run stopped container
rund package[+] Restart running container
restartd package[+] Stop running container
stopd packageThis packages are stored at /root/bankroller-core and /root/bankroller-core-monorepo at our stage server. One version is from splitted repostitory. Another one is from monorepo.
To build this containers localy you need just to run this from root folder repository you've cloned and have all the dependencies built and installed.
Monorepo:
sh ./packages/bankroller-core/docker_build_bankroller.shSplitted one:
sh docker_build_bankroller.shFirst of all you should be registered in gitlab and be a DaoCasino team member.
Next step is to run deploy script (deploy bankroller) in CI after success build.

After success deploy you can check whether it updated correctly or not at bankrollers.stage.dao.casino. There you should enter the Platform_ID of your bankroller (in our case - DC_CloudPlatform).
Then you'll see the following:

NB Some of bankrollers can be found a little later.
This package is stored at /root/dc-protocol at our stage server. The version is from only monorepo.
To build this containers localy you need just to run this from packages/dc-protocol folder of monorepo you've cloned and have all the dependencies built and installed.
sh docker_build.shIf it builds correctly you'll see the following:

You can test its api at https://testrpc.stage.dao.casino.
As well as bankroller core it is deployable from gitlab.
This package is stored at /root/bankroller-client-react at our stage server. The version is from only monorepo.
To build this containers localy you need just to run this from root folder repository you've cloned and have all the dependencies built and installed.
docker build -f packages/bankroller-client-react/Dockerfile -t bankroller-client-react .As well as bankroller core it is deployable from gitlab.