2019-03-26 14:47:53 +00:00

44 lines
2.1 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CUCC Expedition Handbook: Uploading files/photos</title>
<link rel="stylesheet" type="text/css" href="../css/main2.css" />
</head>
<body>
<h2 id="tophead">CUCC Expedition Handbook</h2>
<p>There are essentially two ways of using expo server: one is just FTP, second using version controll.
<strong>If you can handle version controll use that!</strong>. Currently we're using HG wich is like GIT but a litte retarded.
<h1>Using expo server via version controll software connection</h1>
<h2>Configure on Windows</h2>
<ul>
<li>Get <a href="https://tortoisehg.bitbucket.io/">TortoiseHG</a> application to handle mercurial repo:<br>
<img src="./tutorialimgs/tortoisehg.png" width="300"></li>
<li>Install and open the app. The click 'clone':<br>
<img src="./tutorialimgs/hg_win_clone.png" width ="300">
</li>
<li>Configure as:<br>
<b>source:</b><i>ssh://expo@expo.survex.com/<b>expoweb</b></i>
(you can replace 'expoweb' with one of four repos we have on the server c.f. <a href="http://expo.survex.com/repositories">repositories</a>)<br>
<b>destination:</b> pick location on the local machine<br>
<img src="./tutorialimgs/hg_win_setup.png" width="300">
</li>
<li>Press 'clone'</li>
<li>You should now have a copy of the repo on your machine. Use commands 'commit','pull','push' as in any version controll system. (This page is not meant as version controll tutorial, pls just websearch something)</li>
</ul>
<hr>
<h2>Configure on Linux</h2>
<ul>
<li>Instal mercurial:<br>
<pre>sudo apt-get install mercurial</pre></li>
<li>Clone database:<br>
<pre>hg clone ssh://expo@expo.survex.com/expoweb ~/localdirofyourchoice</pre></li>
<li>You should now have a copy of the repo on your machine. Use commands 'commit','pull','push' as in any version controll system. (This page is not meant as version controll tutorial, pls just websearch something)</li>
</ul>
</body>
</html>