Set up the local development environment¶
This is the part with some potential for stumbling-blocks, because it involves the installation of software. However the tools are very reliable and the vast majority of users encounter no problems. If you already have Docker and Node.js installed on your system, skip to the last step and install subzero-cli
If you do run into any difficulties, please don’t hesitate to contact subZero support, who will be glad to help you out.
Every component of the subZero runs as a docker container which makes it possible to work on a project locally in the same environment as it runs on in the cloud. Using Docker means that not only does every member of the team work in the same environment, but they’re all in the same environment that the application will have in production.
Install Docker and Docker Compose¶
Macintosh users: Docker for Mac
Windows users: Docker for Windows
Launch Docker. You can check that it’s running correctly with:
docker run --rm busybox true
Use the pre-built installer for your platform. Check that it's correctly installed with:
Use npm (or yarn) to install the subzero developer tools
If you are on windows, run this first
npm install --global --production windows-build-tools
Install subzero-cli as a global package
npm install -g subzero-cli
Check that it was installed correctly