-
Install Docker - https://docs.docker.com/engine/installation/linux/ubuntulinux/
curl -sSL https://get.docker.com/ | sh
-
Install Docker Compose - https://docs.docker.com/compose/install/
pip install docker-compose
-
Run
npm install
on each service using setupAll script
./setupAll.sh
-
Build images
docker-compose build
-
Run images
docker-compose up
Coliselia Design & Interactions
Because most of this will be running on servers / AWS / Google Cloud, the target environment is Linux. Some devs do not have immediate access to a Linux machine nor do they want to use VirtualBox traditionally.
Vagrant is basically a virtual machine that allows easy command line access and automatically sets up a shared folder in the working directory. This means any running & execution can take place in the virtual machine; while still being able to use your own computer's editors.
- Install VirtualBox
- Install Vagrant
- Navigate to the project root (where the Vagrantfile is)
- Run
vagrant up
to setup the virtual image - Run
vagrant ssh
to ssh into the newly created virtual image