From 781d74a23a6aa4fcc601af960450aa482c54a866 Mon Sep 17 00:00:00 2001
From: Arnau Casau <47946624+arnaucasau@users.noreply.github.com>
Date: Fri, 17 Nov 2023 22:54:28 +0100
Subject: [PATCH] Contributor guide: instructions on how to preview the website
(#591)
### Summary
This PR adds instructions on the contributor guide on how to preview the
ecosystem website.
Closes #590
---------
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
---
CONTRIBUTING.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4a8144f647..b4251d1d1c 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -42,6 +42,10 @@ pip install -r requirements-dev.txt
tox -eblack
- To Fix the black violation black
+# Create a preview of the website
+1. Build the website: `tox -ewebsite`
+2. Go to the `website/` folder in the root of your project and open up `index.html` in a browser
+
# Guidance on git
Please follow [this link](./docs/git-guidance.md) if this is your first time contributing to open source and/or you would like some guidance on how to create and/or merge
pull requests.