User Tools

Site Tools


notes:cprog:fall2023: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:cprog:fall2023:projects:abc0 [2023/08/22 18:59] – [Log into Lab46 (shell)] abowes2notes:cprog:fall2023:projects:abc0 [2023/08/23 23:27] (current) – [Create info.text file with personal information (name, email, program, discord username, etc...)] cmazzara
Line 11: Line 11:
 ====Clone lab46 semester repo on lab46==== ====Clone lab46 semester repo on lab46====
  
 +The version control we use is mercurial, so the command is "hg" rather than "git". The other commands, such as "clone", "pull", "push", and etc. are the same. 
 +The commands in order to clone (credit to Jess) are below:
 +
 +hg clone ssh:/ /USER@lab46.g7n.org//var/repos/hg/user/USER into ~/src 
 +
 +hg clone ssh:/ /USER@lab46.g7n.org//var/repos/hg/user/USER/fall2023 into ~/src/fall2023
 +
 +
 +In order to get into src, input cd src.
 +
 +Then, you're going to want to make the directories for CPROG. You can do this using the mkdir command. "mkdir cprog". You can verify you've done this correctly by putting in ls, which will list the directories. :)
 +
 +In case of explosion, you can also use the command "fixrepo" which will automatically make everything nice, so... 
 ====Log into Lab46 wiki==== ====Log into Lab46 wiki====
  
Line 17: Line 30:
 ====Clone lab46 semester repo on your system==== ====Clone lab46 semester repo on your system====
  
-====Create info.text file with information====+====Create info.text file with personal information (name, email, program, discord username, etc...)==== 
 +You can do this by doing echo "whatever you want" > textfilename.txt
  
 ====Create and execute hello.c==== ====Create and execute hello.c====
  
 ====Locate journal and customize title and intro==== ====Locate journal and customize title and intro====
 +The journal is to the left of the screen and underneath content on the left side of the screen towards the top of this web page.
notes/cprog/fall2023/projects/abc0.1692730797.txt.gz · Last modified: 2023/08/22 18:59 by abowes2