This guide provides step-by-step instructions for setting up and running the AI Governance Framework website locally.
- Ruby (version 2.7 or higher)
- Git
gem install jekyll bundlergit clone https://github.com/finos/ai-governance-framework.git
cd ai-governance-frameworkIf you have Jekyll installed globally, you can run commands directly:
cd docs
jekyll serveFor a more isolated environment or if you encounter dependency conflicts:
cd docs
bundle init
bundle add jekyll
bundle add webrick
bundle installNavigate to the docs/ directory:
cd docs- Clean the build:
jekyll clean - Build the site:
jekyll build - Serve locally:
jekyll serve
- Clean the build:
bundle exec jekyll clean - Build the site:
bundle exec jekyll build - Serve locally:
bundle exec jekyll serve
After running jekyll serve (or bundle exec jekyll serve), access the local development server at:
http://localhost:4000
The server will automatically reload when changes are made to the source files.
- Ensure you're in the
docs/directory when running Jekyll commands - If you encounter dependency issues, try running
bundle installagain - For permission issues with gem installation, consider using a Ruby version manager like rbenv or RVM
Once you have the site running locally, you can:
- Make changes to content files in
_risks/and_mitigations/ - Preview your changes in real-time
- Test the site before submitting pull requests
For more details on content conventions, see CONVENTIONS.md.
For more details on how to contribute, see CONTRIBUTING.md.