lab02 : Allotemplate
| num | ready? | description | assigned MW lect | due MW lect | assigned TR lect | due TR lect | 
|---|---|---|---|---|---|---|
| lab02 | false | Allotemplate | Tue 03/30 12:30PM | Tue 04/06 11:00AM | 
This assignment is lab02
If you find typos or problems with the lab instructions, please report
them on the #help-lab02 channel on Slack
Goals
This lab checks that you can succesfully create a piece using the Allotemplate repo: https://github.com/AlloSphere-Research-Group/allotemplate.
Instructions
- 
    
If you navigate to the GitHub org for the course at https://github.com/allolib-s22, you should find an empty repo called lab02-yourGitHubId, where is your GitHub id (for example lab02-cgaucho.)
 - 
    
Put yourself in a directory (folder) that you’ve chosen as the place to store files for this course. For example, with these commands:
cd mkdir -p allolib cd allolibExplanation:
cdmeans: “change directory(folder) to your home directory(folder)”mkdir -p allolibmeans: m ke a directory(folder) calledallolib. The-pmeans: don’t complain if one already exists.cd allolibputs you into that directory(folder)
 - 
    
Go to the page for your lab02-yourGitHubId repo and get the
sshlink for that repo.Then, clone that into your current directory, and cd into that directory:
pconrad@Phillips-MacBook-Pro allolib-s22 % git clone git@github.com:allolib-s22/lab02-pconrad.git Cloning into 'lab02-pconrad'... warning: You appear to have cloned an empty repository. pconrad@Phillips-MacBook-Pro allolib-s22 % ls allolib-s22.github.io lab01-pconrad lab02-pconrad pconrad@Phillips-MacBook-Pro allolib-s22 % cd lab02-pconrad pconrad@Phillips-MacBook-Pro lab02-pconrad % - 
    
Add a remote for the
allotemplaterepo:git remote add allotemplate git@github.com:AlloSphere-Research-Group/allotemplate.git
 - 
    
Do these commands to get a copy of
allotemplate/masterinto your local repo as theorigin/mainbranch:git checkout -b master git pull allotemplate master git checkout -b main git push origin main - 
    
DO NOT run the commands inside
./init.sh! These will destroy the git history that you already have, and the remotes you created.Instead, run only these commands. These may take several minutes to complete, depending on the speed of your internet connection:
git submodule add https://github.com/AlloSphere-Research-Group/allolib.git git submodule add https://github.com/AlloSphere-Research-Group/al_ext.git git submodule update --recursive --initI suggest that you delete
./init.shand commit that change:git rm init.sh git commit -m "remove init.sh" git push origin main - 
    
To run the code:
./configure.sh ./run.shThe
./configure.shstep is likely needed only the first time, while the./run.shstep is needed each time.