Make a portable YouTrack

Does anybody know of a way to get the YouTrack running on my usb drive, so that I can carry it around with me and work on different machines?
5 comments
Comment actions Permalink
  1. install JDK on flash drive (/jdk1.6)
  2. drop youtrack.jar on flash drive
  3. edit database location, so it points to flash drive (http://confluence.jetbrains.net/display/YTD3/Changing+Database+Location)
  4. create startup script with content like
/jdk1.6/bin/java -jar /youtrack.jar 8080

should work, may be some fine turning is required.
0
Comment actions Permalink
Thanks ,
  1. 1 Do you know what's the path about "${user.home}" in web.xml ;
  2. 2 May I change the path <param-value>${user.home}/teamsysdata</param-value> as a relate path or absolute path ?
0
Comment actions Permalink
You can just run Youtrack with -Ddatabase.location=<path to your database> Java parameter without any youtrack.jar modifications.

I think it should cover your case. Please let me know if you are success.
0
Comment actions Permalink
To change this default location, modify database.location parameter in file youtrack-xx.war:/WEB-INF/web.xml:

Can you tell me , where is the file location ? I searched youtrack-xx.war , but I can't find it.
0
Comment actions Permalink
Hi,
you should edit youtrack-xx.jar. Please find WEB-INF/web.xml and modify for the param-value = database.location a desired param-value

Regards,
Alexander
0

Please sign in to leave a comment.