User Tools

Site Tools


interface:first_start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
interface:first_start [2023/04/24 11:06]
calogero created
interface:first_start [2023/04/24 11:32] (current)
calogero
Line 1: Line 1:
-test+ 
 +====== First start ====== 
 + 
 +The interface is available on the gitlab in the file GmshToLag. Git bash needs to be installed and a SSH key has to be made ( if not see how to do it [[devs:​install|Installation guide]]. 
 + 
 +Once it is done, open Git bash and acces to the file where you want the repository to be placed :  
 + 
 +<​code>​cd C:​\Users\user </​code>​ 
 + 
 +Then you will clone the Lagamine repository from the server with the following command 
 + 
 +<​code>​git clone git@gitlab.uliege.be:​UEE/​GmshToLag </​code>​ 
 + 
 +This will directly create you the gitfile :  
 + 
 +{{ :​interface:​firststart:​gitlab_file.png?​nolink&​400 |}} 
 + 
 +With python, it is possible to work with //**Visual Studio code**// ([[https://​code.visualstudio.com/​download]]) or //**Visual Studio**//​(same as Lagamine), the first one is more convenient, so there is the steps to make it work : 
 + 
 +- open //**Visual Studio code**// as an administrator (right click), once in the //**Visual Studio code**// open a new terminal (Powershell) and use these lines which allow the ssh key to be read (for commits from //**Visual Studio code**//​) ​ :  
 + 
 + 
 +<​code>​Get-Service -Name ssh-agent | Set-Service -StartupType Manual </​code>​ 
 + 
 +<​code>​ssh-agent </​code>​ 
 + 
 +<​code>​ssh-add </​code>​ 
 + 
 +(Maybe, it would be better to check the path of ssh.exe) 
 + 
 +<​code>​git config --global core.sshCommand C:/​Windows/​System32/​OpenSSH/​ssh.exe </​code>​ 
 + 
 +(if you want,it is possible to check this [[https://​stackoverflow.com/​questions/​56490194/​vs-code-bitbucket-ssh-permission-denied-publickey]]) 
 + 
 +{{ :​interface:​firststart:​powershell_administrator_command.png?​nolink&​600 |}} 
 + 
 +Once it is done, it is possible to make commit with //**Visual Studio code**// :  
 + 
 + 
 +{{ :​interface:​firststart:​commit_visual_studio.png?​nolink&​600 |}} 
 + 
 + 
interface/first_start.1682327214.txt.gz · Last modified: 2023/04/24 11:06 by calogero