Будите упозорени, страница "InstallPC"
ће бити избрисана.
This page will lead you in the installation of the different tools needed to synchronise your gin tonic repository on your windows computer.
Following the handbook.
Make sure NOT to skip one step and do it one after the other, Python needs to be available in the normal command application (search for "cmd"):
You may use the following commands to test each step, in the command application:
python -- version
pip --version
git version
git-annex version
datalad -- version
A. Create a key To create a ssh key, you may follow this tutorial. However, using Rstudio is much easier and faster.
Install R and RStudio via the installer.
Following Rstudio tutorial: in the tools menu, choose the global Options
, choose Git/SVN
, push the create SSH key
button. Do NOT add a passphrase (simply leave it blank) ! Once the key is created, you View the public key
and copy it.
B. Use the key
In GIN (in the internet browser), you need to add one key: click on your avatar on the top right corner of this page, choode your settings
. Choose the SSH Keys
vertical tab, then click the blue add Key
button. Give it a name of your choice, and paste the public key text in the Content
section.
Run datalad clone <ssh address>
:
.main
repository and paste the ssh address you get. Its form should be similar to ssh://git@gindata.biologie.hu-berlin.de:10022/organame/projectname.main.gitdatalad clone
The repository should be cloned at that point. This means that the content of the main repository will be downloaded on your local machine.
double click script
On your normal desktop window, double click the sync.bat
file. The script will initiate submodules.
Make changes locally or with the browser and double click the same sync.bat
script to synchronise the two copies.
The script will show you the changes made and ask you for a message that will be used to write the version history: describe the change made in that message. If there are no local changes, press return to download changes made online.
The script will then ask if he should drop content: this would delete the big files on your computer (only if the file is present on the server).
If necessary and update content from the server to your computer and vice versa.
Будите упозорени, страница "InstallPC"
ће бити избрисана.