Skip to content
Michael Schleichardt edited this page May 6, 2013 · 19 revisions

Environments

Trigger Deployment of Freeplane and Play artifacts

Staging

  • per Github push

Prod

Trigger Deployment of files from HTW-vagrant

Run puppet scripts

  • connect with ssh
  • sudo bash ~import/server-configuration/server-init/apply.sh

Build mindmap-service locally

  • use Docear/Desktop branch workspace_1.0
  • cd freeplane_framework/ant && ant serverzip
  • freeplane_framework/dist/freeplane_server.zip contains the artifact

Deployed Services

The play-frontend and the mindmap-backend both works like a UNIX daemon. They start automatically when the maschine boots.

play-frontend service

  • start: sudo service play-frontend start
  • stop: sudo service play-frontend stop
  • restart: sudo service play-frontend restart
  • check status
    • briefly: sudo service play-frontend status
    • lsof -i :9000 ; ls /var/play-frontend/current/RUNNING_PID

mindmap-backend service

  • start: sudo service mindmap-backend start
  • stop: sudo service mindmap-backend stop
  • restart: sudo service mindmap-backend restart
  • check status
    • briefly: sudo service mindmap-backend status
    • lsof -i :2553 ; ls /var/mindmap-backend/current/RUNNING_PID
  • logfile: /var/log/mindmap-backend/mindmap-backend.log

Test

Run Frontend Tests

  • sbt "test-only base.TestSuite"
    • quotation marks can differ on unix / windows.

Clone this wiki locally