Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleM1 Mac Users

If you have an M1 Apple silicon-based Mac, please ignore this page and follow the specific environment setup steps at Environment Setup For M1 Based Macs.

...

Code Block
languagebash
# You should still be ssh'd into the box
# Check with whoami - it should say "vagrant"
whoami
# Access the shared folder - found at box/shared
cd ~/shared
# Clone the firmware repo
git clone https://githubgit@github.com/:uw-midsun/firmware_xivfwxv.git && cd firmware_xivfwxv
# Try to build the firmware
scons


Info

Note: Using passwords to authenticate Git operations with Github.com will soon be deprecated as shown here: Token Authentication RequiredYou will need to setup an ssh key to access github with your account. 

If you have already performed git clone with https, you will need to can alternatively set up a token to be able to push any changes to our repo and you will need to enter this token in replacement of your password each time you push.

AlternativelyIf you are setting up fresh, you can set up need to use an ssh key to link it with your account so you don't have to re-enter you username and token each time you want to push. To learn how to add an ssh key you can run run the following commands in this tutorial within your VM: Add an SSH Keyvagrant. Then, make sure to link it to your Github account.

Code Block
languagebash
# Create an ssh key
ssh-keygen -t ed25519 -C "your_email@example.com"
# Press enter to save at default location, and enter again to use no passphrase

# Add your ssh key to the ssh agent
eval "$(ssh-agent -s)"

# Add all keys to the ssh agent
ssh-add


Also, if you have already performed git clone with https, you will need to can switch to ssh by performing the command below. If you don't, you will constantly be prompted for your user/token still even if you've already added your ssh key and linked it to your Github account.

Code Block
languagebash
# Make sure you are in the git repo
cd firmware_xiv

# Switch from https to ssh
git remote set-url origin git@github.com:uw-midsun/firmware_xiv.git


...