Here is an example of an Angular project configured with Protocode:
https://github.com/protocode-tech/angular-template
It contains a .protocode
directory that holds all the configuration:
└── angular-template/
├── .protocode/
│ └── docker-compose.yml
│ └── lifecycle/
│ └── preUp.sh
│ └── postUp.sh
│ ... Rest of the files
preUp.sh
file installs the dependencies in the node_modules
folder, and the postUp.sh
file installs the official Angular extension for VSCode.In a similar project, you can either:
.protocode/docker-compose.yml
. Then, in the "Initialization" section, under "Before container build", place .protocode/lifecycle/preUp.sh
, and under "After container build", place .protocode/lifecycle/postUp.sh
..protocode/docker-compose.yml
in the form field. Then, in the "Initialization" section, under "Before container build", paste the contents of .protocode/lifecycle/preUp.sh
, and under "After container build", paste the contents of .protocode/lifecycle/postUp.sh
.