@@ -9,8 +9,8 @@ You can skip step 4 and staight git clone git\@gitlab.com:biotransistor/annot.gi
How-to Get Annot Developer version Up and Running
-------------------------------------------------
Install Annot
^^^^^^^^^^^^^
Install Annot for Development
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1. `Install Docker <https://docs.docker.com/>`_ on the computer you would like to run Annot for development. (This can be the same at the computer where you run your deployed version of Annot.)
Docker is able runs on Linux, Mac OSX, MS Windos and many flavours of cloud platforms.
@@ -50,4 +50,26 @@ Install Annot
docker run --name=media elmar/media /bin/true
docker run --name=apache_annotdev --volumes-from=media -v=/path/to/annot:/var/www/annot -v=/path/to/crowbar.py:/var/www/annot/prjannot/crowbar.py -d -p 35627:80 elmar/apache_annot
8. With apache_annotdev docker container continuer with step 6 to 9 form the User Manual Install Annot instruction.
8. With apache_annotdev docker container continuer with :ref:`step 6 to 9 form the User Manual Install Annot <link_developmer_manual>` instruction.
Run Annot for Development
^^^^^^^^^^^^^^^^^^^^^^^^^
* In one shell manipulat Annot source code on host server rund apache_annotdev. Changein to the source code will imidiately take effect. Hint: if the host is not your local computer ssh into the host server to work with the source code.
* In an other shell enter apache_annot to controll the apache web server. The following commands might be of use: ::
docker exec -ti apache_annot /bin/bash
/etc/init.d/postgresql
/etc/init.d/postgresql status
/etc/init.d/postgresql start
/etc/init.d/postgresql restart
/etc/init.d/postgresql stop
* Don't forget to add, commit, and push your changes to your git repository. And if your code runs, don't forget to merge request that the changes can be forked back into the official repository.