Skip to main content

Site Deployment

Comments

7 comments

  • Permanently deleted user

    You could write a script to update values in your xml files and then copy them to correct location but if your not doing this all the time I would suggest just copying your site config files to your production server and updating any links in the config files that don't point to your live environment. I manage my sites this way but I run a test and live instance on the same machine so I just copy changes over to my live instance of essentials when I have completed testing. 

    0
  • Permanently deleted user

    Also, have a read of this:  https://support.geocortex.com/Forums/Thread.aspx?thread=46361&mid=2&pageid=0&ItemID=7

    Its worth taking Malcolm's approach to avoid issues in future re upgrades.

     

    Brad
    0
  • Permanently deleted user

    @ Nick

    I didn't your answer.

    So, I have a folder under C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites

    that is called "MyWonderfulCitySite"

    What should I do to copy it to the test machine.

    what config files I should edit?

     

    Copying it to the test machine , under the same location, won't make it available for REST services.

    I want to access the rest service with this

     

    http://<server name>/Geocortex/Essentials/REST/sites/MyWonderfulCitySite

     

    0
  • Permanently deleted user

    You would copy your site folder to "MyWonderfulCitySite" to the same location on your test server. When you open manager the site will be visible. This also will create a REST endpoint. You would only need to change paths in your site.xml file if they are different from the paths that you would use in your test environment. I have done this several times in my environment with out any issues and I have even setup new servers and was able to migrate existing sites to a new server this way as well. Only issue that may arise is if you are running different versions of essentials in two environments.

    0
  • Permanently deleted user

    Thanks Nick

    We are getting there.

    So, I did open the Manager, and there is an end point now.

    So, my question right now, copying the folder without opening the manager won't create an end point, but opening the manager will do some magic to create the end point. Is that right?

     

    0
  • Permanently deleted user

    Hi Ghassan,

    If you don't get a REST endpoint after copying the folders into the Sites directory, it is likely that either the REST master endpoint has not yet loaded the site, or there was some sort of error resolving the contents of the Site.XML file.

    If any of the ArcGIS map services referenced in your configuration file are not available, the site may fail to load.

    REST Manager will show you the site and will allow you to update the URLs to your maps if necessary.  There's no magic involved (that I know of), but sometimes there is a minor delay while the application resolves the contents of the file.

    Regards,

    -Malcolm

    0
  • Permanently deleted user

    Coincidentally Malcolm, I'm after a little better understanding around this top of manager & sites (see my post https://support.geocortex.com/Forums/Thread.aspx?pageid=0&mid=2&ItemID=2&thread=46681).  Any further info would be appreciated.

     

    Brad
    0

Please sign in to leave a comment.