Difference between revisions of "Experimenter Account Setup"

From biophysics
Jump to navigation Jump to search
(Created page with "To run experiments in the Sphere Lab, you will need particular Matlab files that are stored in a [https://gitlab.science.ru.nl/marcw/experiment.git Git repository] For bachel...")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
To run experiments in the Sphere Lab, you will need particular Matlab files that are stored in a [https://gitlab.science.ru.nl/marcw/experiment.git Git repository]
 
 
 
For bachelor/master/PhD students:
 
For bachelor/master/PhD students:
* Ask for an administrator (Marc van Wanrooij, Günter Windau) to create a new User Account without administrator rights
+
* Ask for an administrator (Marc van Wanrooij, Günter Windau) to create a new user account.
 
* Login to [https://gitlab.science.ru.nl Gitlab]
 
* Login to [https://gitlab.science.ru.nl Gitlab]
 
* Ask for a Git Master (Marc van Wanrooij, Günter Windau) to give you access to the [https://gitlab.science.ru.nl/marcw/experiment.git Git repository] to add you as a Developer (this will allow you to change things without affecting the main repository).
 
* Ask for a Git Master (Marc van Wanrooij, Günter Windau) to give you access to the [https://gitlab.science.ru.nl/marcw/experiment.git Git repository] to add you as a Developer (this will allow you to change things without affecting the main repository).
Line 8: Line 6:
 
* Clone the [https://gitlab.science.ru.nl/marcw/experiment.git experiment-repository] by clicking on Clone in SourceTree to MATLAB/experiment in your User account Documents folder (all required m-files will now be copied to your folder, i.e. you will own your own local repository)
 
* Clone the [https://gitlab.science.ru.nl/marcw/experiment.git experiment-repository] by clicking on Clone in SourceTree to MATLAB/experiment in your User account Documents folder (all required m-files will now be copied to your folder, i.e. you will own your own local repository)
 
* Create a new branch of this repository by clicking on Branch in SourceTree, and give it a meaningful name, such as your own first name (this will enable you to edit the m-files and upload/push it to the remote repository, without affecting the main repository).
 
* Create a new branch of this repository by clicking on Branch in SourceTree, and give it a meaningful name, such as your own first name (this will enable you to edit the m-files and upload/push it to the remote repository, without affecting the main repository).
* in Matlab  
+
* Add the local repository to Matlab's path (via ...)
At the end of a student's internship (or when relevant), request for a merge.
+
* Start an experiment
 +
 
 +
At the end of a student's internship (or when relevant), request for a merge (to incorporate all the useful changes you made into the main repository)

Latest revision as of 13:38, 15 June 2023

For bachelor/master/PhD students:

  • Ask for an administrator (Marc van Wanrooij, Günter Windau) to create a new user account.
  • Login to Gitlab
  • Ask for a Git Master (Marc van Wanrooij, Günter Windau) to give you access to the Git repository to add you as a Developer (this will allow you to change things without affecting the main repository).
  • install Atlassian SourceTree by going to Windows/ProgramFiles/Atlassian and double clicking on sourcetree.exe (this will be your interface with the repository instead of the default terminal/command prompt).
  • Clone the experiment-repository by clicking on Clone in SourceTree to MATLAB/experiment in your User account Documents folder (all required m-files will now be copied to your folder, i.e. you will own your own local repository)
  • Create a new branch of this repository by clicking on Branch in SourceTree, and give it a meaningful name, such as your own first name (this will enable you to edit the m-files and upload/push it to the remote repository, without affecting the main repository).
  • Add the local repository to Matlab's path (via ...)
  • Start an experiment

At the end of a student's internship (or when relevant), request for a merge (to incorporate all the useful changes you made into the main repository)