Home / Update / Server Code
N.B. Before doing any update, it is recommended that you take a backup of your code and data.
Updating the Server Code is very straight forward but you must first ensure that your configuration and customisations are retained. Compare the following files and merge any differences against the new downloaded code.
\server\PxStat\Resources\Config\config.global.json
.\server\PxStat\Resources\Config\config.server.json
.\server\PxStat\Static.config
.\server\PxStat\Resources\FirebaseKey.json
.\server\PxStat\Web.config
.\server\PxStat\Web.Dev.config
.\server\PxStat\Web.Test.config
.\server\PxStat\Web.Live.config
.FYI, you can use the free comparison tool by TortoiseGit referenced in the Developer Tools Wiki page.
Compare the configuration files and merge any differences against the new downloaded one. Please leave in place any new entry and accept any removal.
Open the Solution \server\PxStat.sln
and run Publish PxStat from the Build menu against the relevant environment (Dev, Test, Live). This will compile the code, transform the Web.config according to the relevant environment and copy all into the selected destination.
If any issues arise, just roll-back the environment using your backup and log an Issue describing the problem.
FYI, you can double check the Version of the Server Code by verifying the Assembly Version under the Application Properties in Visual Studio.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4