... | ... | @@ -192,6 +192,23 @@ Other Python packages can be either installed using pip (as described above) or |
|
|
Git is our preferred version control tool and you are usually required to create a Git repository for your project. Cloning (using `git clone`) your repository on the server is a simple (and reliable) way for transferring your current code to the server. Everytime you pushed new code into the Git repository (e.g. from your laptop or PC) you can do a `git pull` on the server for synchronization.
|
|
|
|
|
|
###### Scp for larger files/directories
|
|
|
In case you want to transfer larger files or directories (e.g. datasets) to the server, Secure Copy (SCP) is the way to go.
|
|
|
|
|
|
Local file to remote directory:
|
|
|
|
|
|
```bash
|
|
|
scp local_directory/file.json user@host:remote_directory/file.json
|
|
|
```
|
|
|
|
|
|
Remote file to local directory:
|
|
|
|
|
|
```bash
|
|
|
scp user@host:remote_directory/file.json local_directory
|
|
|
```
|
|
|
|
|
|
To recursively copy a directory, use the `-r` option.
|
|
|
|
|
|
|
|
|
###### Rsync (for example with PyCharm)
|
|
|
### Tmux
|
|
|
###### Usage (detaching, etc)
|
... | ... | |