ASM-docs
Aye-aye Sleep Monitoring Project Documentation
This project is currently inactive. If you are interested in contributing to this project, please contact Engineers for Exploration at e4e@ucsd.edu.
Repositories
Getting Started
Required Items
- SSH Public Key
- Visual Studio Code
- Github Access
Procedure
- Designate a folder
${workspace_root}
to store all of the repositories in.
- Clone all of the above repositories into
${workspace_root}
.
- Provide SSH Public Key to the Project Manager or System Admin to load onto all of the systems.
- Open Visual Studio Code
- In the lower left hand corner, click "Open a Remote Window"
- Select "Connect to Host"
- All of the current systems are listed in E4E_Aye_Aye_Sleep_Monitoring/Systems/System Tracker and in E4E_Aye_Aye_Sleep_Monitoring/SSH Pubkeys. If you see the desired host in the dropdown, select it. Otherwise, select "Add a new SSH Host" and copy and paste in the appropriate username and hostname as f'ssh {user}@{hostname}'. Select the appropriate SSH config file to update, then click "Connect".
- In the new Remote window, click File -> Open Workspace from File
- Navigate to the location of the code on that system. Select the VS Code Workspace file.
- This may be in the user directory for a deployed system, or it may be in a subdirectory for a development system or for development code.
- Ensure that the proper configuration files are present. See each individual repository documentation for configuration precedence and location.
- Ensure that the selected Python interpreter is at least Python 3.7
- Use the Run and Debug menu to execute the code. Alternatively, see each individual repository documentation for how to install and run each repository for deployment purposes.