-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
AlexSchwank edited this page May 20, 2013
·
19 revisions
- dev with vagrant
- staging https://staging.my.docear.org
- connect per ssh:
ssh firstnamelastname@staging.my.docear.org
- connect per ssh:
- prod https://my.docear.org
- connect per ssh:
ssh firstnamelastname@my.docear.org
- connect per ssh:
- SSH Keys are added via Puppet in this repository: https://github.com/Docear/HTW-vagrant
- Administration of the virtual maschines: https://www.vservercontrolpanel.de
- per Github push
- precondition: standard ci build runs successfully
- play-frontend: Klicken löst Deployment aus: http://141.45.146.249:8080/job/frontend-deploy-prod/build?delay=0sec
- mindmap-backend: Klicken löst Deployment aus: http://141.45.146.249:8080/job/backend-deploy-prod/build?delay=0sec
- it might be possible, that freeplane starts not automatically, so try
service mindmap-backend startorservice mindmap-backend next
- it might be possible, that freeplane starts not automatically, so try
- the Github hook does not work, but Jenkins checks all 5 minutes if there are code changes and deploys it automatically to staging
- to deploy to prod open http://141.45.146.249:8080/job/vagrant-deploy/build?delay=0sec and set the server to
my.docear.org
- connect with ssh
sudo bash ~import/server-configuration/server-init/apply.sh
- use Docear/Desktop branch workspace_1.0
cd freeplane_framework/ant && ant serverzip- freeplane_framework/dist/freeplane_server.zip contains the artifact
The play-frontend and the mindmap-backend both works like a UNIX daemon. They start automatically when the maschine boots.
- 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
- briefly:
- 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
- briefly:
- logfile: /var/log/mindmap-backend/mindmap-backend.log
- sbt test
Architecture
- Architecture
- Continuous Integration
- Online View
- Frontend/API-Server
- Freeplane Remote
- Deployment
APIs
Research & Technologies
-
[Client layer - overview](wiki/Overview of used technologies for client layer)
Tutorials
Misc
Archive