Fuge needs a simple configuration file in order to take control of our development system, let's write it now.
We need to create a directory called fuge at the same level as our webapp and service directories:
$ cd micro$ mkdir fuge
Next we need to create a file fuge.yml in this directory and add the following configuration code:
fuge_global: tail: true monitor: true monitor_excludes: - '**/node_modules/**' - '**/.git/**' - '**/*.log' adderservice: type: process path: ../adderservice run: 'node service.js' ports: - main=8080 webapp: type: process path: ../webapp run: 'npm start' ports: - main=3000
Fuge will provide us with an execution shell for our apps and services.
We can enter the fuge shell environment with the following ...