Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Compile New Viewer

From Catglobe Wiki
Revision as of 05:06, 15 October 2015 by Phamhuuphucgopenid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to compile new viewer

1. Check out Catglobe source code.

2. Open command line change working directory to CatGlobeWeb\jmvc

3. Run command "js.bat catglobe\questionnaire_viewer\scripts\build.js". This command will compile all files in directory to make 2 production files for deploy to server:

 + catglobe/questionnaire_viewer/production.js

 + catglobe/questionnaire_viewer/production.css

4. Build Catglobe Solution.

 in Default.aspx.cs debug mode is defined:
    #if DEBUG
         public const bool IsDebugMode = true;
    #else
         public const bool IsDebugMode = false;
   #endif
 So in production the build will use the production files as compiled in place, no need to move them anywhere

5. Commit new files to bitbucket