This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:fall2020:common:projects:ntr0 [2021/01/25 13:20] – wedge | haas:fall2020:common:projects:ntr0 [2021/01/28 12:41] (current) – wedge | ||
---|---|---|---|
Line 28: | Line 28: | ||
As many of my graduated and subsequently employed alumni have relayed to me, many of these activities and behaviours I have highlighted have been quite influential in their success at their various jobs. | As many of my graduated and subsequently employed alumni have relayed to me, many of these activities and behaviours I have highlighted have been quite influential in their success at their various jobs. | ||
- | Say some of my former students now employed: " | + | Say some of my former students now employed |
=====Abstraction===== | =====Abstraction===== | ||
- | {{page> | + | {{page> |
=====Locational Awareness===== | =====Locational Awareness===== | ||
- | {{page> | + | {{page> |
=====Part 1: Getting started with course resources===== | =====Part 1: Getting started with course resources===== | ||
Line 70: | Line 69: | ||
====Clone your Lab46 Mercurial Repository on lab46==== | ====Clone your Lab46 Mercurial Repository on lab46==== | ||
- | **__NOTE: | + | **__NOTE: |
- | To both aid you and help you develop better development skills, I'd like for you to make regular commits and pushes to your semester | + | To both aid you and help you develop better development skills, I'd like for you to make regular commits and pushes to your Lab46 mercurial repository. |
This way, you can have a regular snapshot of your work as you go along, plus have the ability to grab an older copy should something go wrong. | This way, you can have a regular snapshot of your work as you go along, plus have the ability to grab an older copy should something go wrong. | ||
Line 84: | Line 83: | ||
</ | </ | ||
- | NOTE: you ONLY want to run ' | + | NOTE: you ONLY want to run ' |
For basic repository operation, when you make new files you'd like to track, or see the status of any tracked files that have changed: | For basic repository operation, when you make new files you'd like to track, or see the status of any tracked files that have changed: | ||
Line 90: | Line 89: | ||
<cli> | <cli> | ||
lab46:~$ cd src | lab46:~$ cd src | ||
- | lab46:~/src$ ls | + | lab46: |
- | SEMESTER | + | |
- | lab46: | + | |
- | lab46: | + | |
A .hgignore | A .hgignore | ||
- | lab46:~/src/SEMESTER$ | + | lab46: |
</ | </ | ||
- | Once cloned (to your ~/src/ | + | Once cloned (to your ~/src directory), you will be able to add, commit, and push changes made: |
<cli> | <cli> | ||
- | lab46:~/src/SEMESTER$ hg add | + | lab46: |
- | lab46:~/src/SEMESTER$ hg commit -m "brief message describing the changes" | + | lab46: |
- | lab46:~/src/SEMESTER$ hg push | + | lab46: |
</ | </ | ||
Line 223: | Line 219: | ||
* make sure you have the " | * make sure you have the " | ||
* my example will have you cloning it into ~/src (NOTE: ~ below the escape key; it is not -) | * my example will have you cloning it into ~/src (NOTE: ~ below the escape key; it is not -) | ||
- | * be sure to replace "YOURUSERNAME" with your actual lab46 username | + | * be sure to replace "yourusername" with your actual lab46 username |
- | * be sure to replace " | + | |
* do NOT change tokens of " | * do NOT change tokens of " | ||
<cli> | <cli> | ||
- | yourpi:~$ mkdir -p src | + | yourpi:~$ hg clone https:// |
- | yourpi:~$ hg clone https:// | + | |
</ | </ | ||
Line 239: | Line 233: | ||
<cli> | <cli> | ||
- | yourpi:~$ nano ~/src/SEMESTER/.hg/hgrc | + | yourpi:~$ nano ~/ |
</ | </ | ||
Line 246: | Line 240: | ||
< | < | ||
[paths] | [paths] | ||
- | default = ssh://YOURUSERNAME@lab46.g7n.org//var/repos/hg/user/YOURUSERNAME/ | + | default = https:// |
[ui] | [ui] | ||
- | username = YOURUSERNAME | + | username = yourusername |
[web] | [web] | ||
Line 256: | Line 250: | ||
[auth] | [auth] | ||
- | lab46.prefix = https:// | + | lab46.prefix = https:// |
- | lab46.username = YOURUSERNAME | + | lab46.username = yourusername |
lab46.schemes = https | lab46.schemes = https | ||
</ | </ | ||
Line 286: | Line 280: | ||
<cli> | <cli> | ||
- | yourpi:~$ mkdir -p ~/src/SEMESTER/ | + | yourpi:~$ mkdir -p ~/src/desig/ntr0 |
- | yourpi:~$ cd ~/src/SEMESTER/ | + | yourpi:~$ cd ~/src/desig/ntr0 |
- | yourpi: | + | yourpi: |
</ | </ | ||
- | NOTE: "DESIG" is your class designation (" | + | NOTE: "desig" is your class designation (" |
You may want to use the **nano** text editor for this: | You may want to use the **nano** text editor for this: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 310: | Line 304: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 316: | Line 310: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 322: | Line 316: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 328: | Line 322: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 339: | Line 333: | ||
<cli> | <cli> | ||
- | yourpi: | + | yourpi: |
Hello, World! | Hello, World! | ||
- | yourpi: | + | yourpi: |
</ | </ | ||
Line 420: | Line 414: | ||
<cli> | <cli> | ||
- | lab46:~/src/SEMESTER$ hg pull; hg update | + | lab46: |
</ | </ | ||