Install API Doc globally:
npm install apidoc -g
- ) Start APIDoc
apidoc -i app/routes -o doc/assets/api -t doc/sections/api
1.) Update Sociocortex:
Tag a Sociocortex commit with `docke-build-x’ (where x is the number of the build) on Bitbucket to trigger the build process of the container.
2.) Update the SACM:
Push the code to the Github repository and trigger the build process via the web hook provide by Dockherhub (POST REQUEST to https://registry.hub.docker.com/u/padho/sacm/trigger/-SECRET-)
3.) Once everything is build, connect to the CONNECARE server. Make sure your SSH keys are properly installed.
4.) Once logged in, go to the Sociocortex docker directory:
cd /home/ubuntu/eurecat/dockers/sociocortex sudo docker-compose pull # pull the latest version of the containers sudo docker-compose stop # stop all currently running containers sudo docker-compose up -d # restart the containers with the latest version