Use these instructions unless you already have Linux or WSL.
- Download VS Code.
- Download Docker.
- Download the docker zip file.
- Unzip the docker folder.
- Open the folder with the docker file in the terminal. If on windows, find the folder with the docker file, then right click and select Open in Terminal.
- In the terminal type out and run this command:
docker build -t fprime-image . - In the terminal type out and run this command:
docker create -it --name fprime-container fprime-image. - Open up docker desktop.
- Go to the container tab and start the container labeled fprime-container.
- Open VS Code
- Go to the extensions tab then search for and download the docker and Dev Containers extensions.
- Go to the new docker tab, right click the fprime-container and select Attach to VS Code.
- Once the new VS Code window opens, click the tab for File, then Open Folder, and then select the folder
/home/ubuntu/gas_container. - Finally, run the command:
bash fprimeSetup.sh.
- Download the setup script
- Move the file to the desired folder and run it by running
bash fprimeBashSetup.sh.
- Run the command:
cd GASRATS-Demo. - Run the command:
. fprime-venv/bin/activate. - Run the command:
bash startLocal.sh.