Documentation for building, maintaining, and managing mini Virtual Reality Rigs at Princeton BRAIN CoGS.
We have a docker development environment set up. To install, follow the instructions above.
- Docker: Ensure Docker is installed on your system. You can download Docker here.
-
Build the Docker container:
docker-compose build
-
Start the development environment:
docker-compose up
-
Navigate to http://localhost:8080 to view the site locally.
-
Do the modifications to the documentation files and watch them update in the local site.
The documentation follows this structure:
src/
.vuepress/
config.ts # VuePress configuration
components/ # Custom Vue components
public/ # Static assets
styles/ # Custom styles
building/ # Documentation for building VR rigs
maintenance/ # Documentation for maintenance
software/ # Software documentation
- Open the desired
.md
file in the respective directory (e.g.,src/building/stage.md
). - Make your changes and save the file. If the dev env is up, you should see the changes immediatly after saving them.
- Create a new
.md
file in the appropriate directory (e.g.,src/software/new-feature.md
). - Add the new page to the sidebar in
.vuepress/config.ts
. - Test your changes locally as described above.
-
Push your changes to the GitHub repository:
git add . git commit -m "Update documentation" git push
-
The GitHub Actions workflow will automatically deploy the site to GitHub Pages.