-
Notifications
You must be signed in to change notification settings - Fork 0
Welcome!
You should have vagrant and virtualbox installed on your machine. If you're space-constrained, see here.
- Clone this repo
git clone https://github.com/Bruin-Spacecraft-Group/fcmcfc/
- Update git submodules
git submodule update --init --recursive
- From the repo root directory, run
vagrant up
- Vagrant will pull the Kubos virtualbox and boot it
- Once 2 returns, run
vagrant ssh
, which performs an ssh into the VM.
Your CLI prompt should now have 'vagrant' as its user. This means the virtual machine is up and running!
Shut down your VM with vagrant halt
.
-
kubos/
- this is a submodule of https://github.com/kubos/kubos. On the VM, its also available under
~/.kubos
- this is a submodule of https://github.com/kubos/kubos. On the VM, its also available under
Vagrant is set up such that the entire repo folder is shared under /vagrant
on the virtual machine. Executing cd /vagrant
in the VM brings you to that folder, and editing files on your host machine automatically carries over to the VM.
So, code in whatever vim/emacs/IDE setup you have on your host machine. Everything will be available on the VM. If you put code anywhere besides /vagrant
on the VM, upgrading the VM will destroy your code.
See here.
For testing, typically cargo build
is enough. If you'd like to send your code to FC, see cross compilation
See here.