User Tools

Site Tools


notes:fall2024:projects:abc0

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:fall2024:projects:abc0 [2024/08/27 18:05] – [Customize journal title and intro, edit week1 entry] gsalcenotes:fall2024:projects:abc0 [2024/08/29 15:47] (current) – [Submit project files on lab46] amelvil2
Line 26: Line 26:
 sudo apt-get upgrade sudo apt-get upgrade
 sudo apt-get install vim sudo apt-get install vim
 +</code>
 +On Arch you can install it with:
 +<code>
 +sudo pacman -Syu
 +sudo pacman -S vim
 </code> </code>
 =====Log into Lab46 (shell)===== =====Log into Lab46 (shell)=====
Line 31: Line 36:
 ====Clone lab46 semester repo on lab46 (fixrepo)==== ====Clone lab46 semester repo on lab46 (fixrepo)====
 =====Log into Lab46 wiki===== =====Log into Lab46 wiki=====
 +  * If you are reading this, YOU FOUND THE LAB46 WIKI!
 +  * Click login in the upper right and enter your user name and password
 +  * Your username is the beginning of your CCC email (i.e jsmith@corning-cc.edu user = jsmith)
 +  * Your password is your CCC i.d. (i.e. C00######)
 ====Change lab46 wiki password (can be same as lab46)==== ====Change lab46 wiki password (can be same as lab46)====
 +  * Once logged in click update profile in the upper right and there is a menu to update your password
 +
 =====Set up personal development system===== =====Set up personal development system=====
  
Line 62: Line 73:
 ====Create, compile, and execute hello.c==== ====Create, compile, and execute hello.c====
 Similarly to info.txt, you can need to create a file using a text editor like nano or vim. Similarly to info.txt, you can need to create a file using a text editor like nano or vim.
 +
 +Using one of the text editors, create a new file and name it "hello.c"
  
 Within your file write out your C code for hello world Within your file write out your C code for hello world
Line 74: Line 87:
 ====Add, Commit, Push changes to repo==== ====Add, Commit, Push changes to repo====
 In order to move files between Lab46 and your personal computer you can do this by doing hg add, hg commit and hg push and pull. In order to move files between Lab46 and your personal computer you can do this by doing hg add, hg commit and hg push and pull.
-Using hg add will start tracking files. Using hg commit will commit those files and save them and doing hg push will push them out to the other destination where you want to access them. After using hg push make sure to go the the destination and use hg pull to get access to the updated files.+Using hg add will start tracking files. Using hg commit will commit those files and save them (hg commit -m "put commit message here"and doing hg push will push them out to the other destination where you want to access them. After using hg push make sure to go the destination and use hg pull to get access to the updated files.
 =====Pull and Update project changes on Lab46===== =====Pull and Update project changes on Lab46=====
 =====Submit project files on lab46===== =====Submit project files on lab46=====
Line 81: Line 94:
 USER@lab46:~/src/fall2024/DESIG$ submit DESIG PROJECT FILE1 FILE2 FILE3 ... USER@lab46:~/src/fall2024/DESIG$ submit DESIG PROJECT FILE1 FILE2 FILE3 ...
 </code> </code>
-sub in the class you are taking in place of DESIG, the project you are submitting in place of PROJECT, in this case abc0, and the files you are submitting in place of FILE, in this case your C code and info.txt file +sub in the class you are taking in place of DESIG, the project you are submitting in place of PROJECT, in this case abc0, and the files you are submitting in place of FILE, in this case your C code and info.txt file. 
 +For example, if you were in data submitting abc0: 
 +<code> 
 +USER@lab46:~/src/fall/2024/data/abc0$ submit data abc0 helloworld.c info.txt 
 +</code>
 =====Customize journal title and intro, edit week1 entry===== =====Customize journal title and intro, edit week1 entry=====
  
 +Each classmate has their own journal that you can see and read, Giving an intro helps introduce yourself. shocking, I know. This is also a great place to be creative and experiment with the text editor. Have fun!
 +
 +Completing the weekly journal earns you points towards your grade, as well as getting you in the mindset of documenting progress.  
  
 =====Class notes===== =====Class notes=====
notes/fall2024/projects/abc0.1724781937.txt.gz · Last modified: 2024/08/27 18:05 by gsalce