Public | Automated Build

Last pushed: 9 days ago
Short Description
SACM Docker Hub
Full Description

Install API Doc globally:

npm install apidoc -g

Usage:

  1. ) Start APIDoc
    apidoc -i app/routes -o doc/assets/api -t doc/sections/api

Deploy

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-)
https://registry.hub.docker.com/u/sebis/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
Docker Pull Command
Owner
sebis
Source Repository

Comments (0)