Changes between Version 1 and Version 2 of AddSandbox


Ignore:
Timestamp:
Mar 15, 2011 4:58:20 PM (10 years ago)
Author:
toby
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddSandbox

    v1 v2  
    22
    33If you would like to use the absolutely latest version of EXPGUI, this can be downloaded from its repository at https://subversion.xor.aps.anl.gov/EXPGUI/branches/sandbox/. If loaded into a directory parallel to the gsas/expgui directory, both the release standard and development versions can be made available with different shortcuts. Instructions for loading the development versions will be provided below.
     4
     5=== Windows ===
     6
     7==== Step 1: Figure out where to install ====
     8
     9Determine where GSAS & EXPGUI are installed; the test version must be placed in a directory parallel to that, but the directory name is up to you.
     10E.g. if EXPGUI is located at `Z:\GSAS\EXPGUI` use `Z:\GSAS\SANDBOX`, or `C:\Programs and Settings\me\GSAS\EXPGUI` use `C:\Programs and Settings\me\GSAS\TESTEXPGUI`
     11
     12==== Step 2: Install the code ====
     13
     14If you have TortoiseSVN installed, you can use that to install the latest version of the code directly from repository location https://subversion.xor.aps.anl.gov/EXPGUI/branches/sandbox/ into the directory you have selected above. For hints on use of TortoiseSVN, see https://subversion.xor.aps.anl.gov/trac/CMPR/wiki/InstallViaSVN.
     15
     16Or you can use
     17[https://subversion.xor.aps.anl.gov/trac/EXPGUI/changeset/1117/branches/sandbox?old_path=%2F&format=zip this link] to download the files in a zip archive. Unpack them into the directory you have selected above.
     18
     19==== Step 3: Create a shortcut or .BAT file to run the Development version of EXPGUI ====
     20
     21You can create a shortcut by following the recipe found [https://subversion.xor.aps.anl.gov/trac/EXPGUI/wiki/InstallWindows#shortcut here].
     22
     23You can make a copy of the StartEXPGUI.bat file in the GSAS directory: Then edit the final line:
     24 from `"%gsasloc%exe\ncnrpack.exe" "%gsasloc%expgui\expgui" %1`
     25
     26 to `"%gsasloc%exe\ncnrpack.exe" "%gsasloc%sandbox\expgui" %1`
     27
     28=== For Linux and Windows ===
     29
     30==== Step 1: Figure out where to install ====
     31
     32Determine where GSAS & EXPGUI are installed; the test version must be placed in a directory parallel to that, but the directory name is up to you.
     33E.g. if EXPGUI is located at `/usr/local/gsas/expgui` use `/usr/local/gsas/SANDBOX` etc. Note that the name of the directory (SANDBOX above) is up to you.
     34
     35==== Step 2: Install the code ====
     36
     37If you have subversion (svn) installed, you can use that to install the latest version of the code directly from repository location with something like this command:
     38
     39  `svn co https://subversion.xor.aps.anl.gov/EXPGUI/branches/sandbox/ /usr/local/gsas/SANDBOX`
     40
     41Or you can use
     42[https://subversion.xor.aps.anl.gov/trac/EXPGUI/changeset/1117/branches/sandbox?old_path=%2F&format=zip this link] to download the files in a zip archive. Unpack them into the directory you have selected above.
     43
     44==== Step 3: Create a shortcut mechanism to run the Development version of EXPGUI ====
     45
     46This is a bit tricky. You need to invoke a command something like this:
     47
     48   /usr/local/gsas/exe/ncnpack /usr/local/gsas/SANDBOX/expgui
     49
     50If you want to use the EXPGUI !AppleScript, you will need to make a copy of it and edit it with the !AppleScript editor. Change the location of expgui in the script (in two places) from expgui:expgui to SANDBOX:expgui.
     51
     52Desktop shortcuts are also possible in linux.