GitHub
The source code of all projects, cookiecutters, and Docker images are stored in GitHub, under the stracquadaniolab organization.
Account setup
Register a GitHub account at http://github.com. To be added to the stracquadaniolab organization, send an email to Giovanni with your GitHub username.
Get a Personal Access Token (PAT)
GitHub requires a Personal Access Token (PAT) to access repositories programmatically, e.g. when cloning or pulling a repo, or pulling a docker image. PATs are personal and must not be shared with anyone.
You can obtain a PAT as follows:
- Login to GitHub
- Go to your account
Settings > Developer Settings > Personal access tokens
, and click onGenerate a new token
. - In the form, put a name, e.g.
Personal PAT
, and select an expiration date, e.g. 3 years. Then, select the scopes you want to get access for; it is highly recommended you only tickrepo
,workflow
,write:packages
. - Click
Generate token
and make sure to save the string, which you will get in the new page and it looks like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
, since it will be shown only once.