Repositories
Repositories#
For a serious project, the first step we do is to create a repository online at either our internal Heptapod server, GitLab, or GitHub. This is optional, but highly recommended for the purposes of backing up your data, running automated tests, building and hosting documentation, etc. Here we will do it on GitLab, which will result in a repository like this:
In the seminar, we will create a project with the following info (here for cut and paste):
WSU Python Working Group Demo 2022
Demonstration of our scientific working procedure for the WSU Python Working Group:
Monday 18 April 2022
Public
Keep README
Now we clone this to our local machine. I have SSH keys setup, so I can use that interface.
hg clone git@gitlab.com:mforbes/wsu-python-working-group-demo-2022.git
cd wsu-python-working-group-demo-2022
Optional Steps
You might want to push-mirror this repo to GitHub or another site. This can be done later.
If you want to host your documentation on Read the Docs, then you might want to sync this up now so you can get the slug and URL.
In the seminar, we go to:
https://readthedocs.org/dashboard/import
Refresh list, filter by red mforbes, and choose demo.
Mention short title.
View docs, and copy URL: https://wsu-python-working-group-demo-2022.readthedocs.io/en/latest/