docker
docker-compose
- jet
If you want to have the node_modules
folder locally on the host system (useful for IDEs that integrate with our eslint
for example), you can run:
docker build -t kit-image-deployer . && id=$(docker create kit-image-deployer) && docker cp $id:/node_modules ./node_modules && docker rm $id
You can use the Codeship jet command to build and run all tests in parallel.
jet steps
Alternatively you can use docker-compose
:
- Run
cp environment.template.env environment.env
- Update
environment.env
with required information - Run
docker-compose up
If you ever need to implement breaking changes (non-backwards-compatible changes) to this service, you should increment the major tag version accordingly. To do this, simply update the image_tag
property for the major version registry step in codeship-steps.yml
. Other services will have to be manually updated to point to the latest major version tag to receive the newest image, during which time any configuration adjustments needed can be made.