CIROH Hub is constructed using Docusaurus, a modern static website generator.
The source code for CIROH Hub is available at:
https://github.com/CIROH-UA/ciroh_hub
The production environment is available at:
https://hub.ciroh.org/
The staging environment is used for testing and validating changes before deploying to production. This allows contributors to preview their changes in a live environment without affecting the production site. https://hub.ciroh.org/docuhub-staging/
Edit Content: See something that needs to be updated? Click on the “Edit page” button at the bottom of the page to make direct changes to the documentation.
Submit Changes: Make your edits and create a Pull Request on GitHub. Your changes will be reviewed and merged by the admin team.
Contribute to Products Tab: For CIROH projects related to NextGen, please send your GitHub repository URL to the admin for inclusion.
Contribute to Blog Section: To add content to the blog, please follow the guidelines in How to write a new Blog?
Report Issues: Found a bug or have a suggestion? Open an issue in the GitHub repository to help improve CIROH Hub.
To set up the project locally, follow these steps:
git clone https://github.com/CIROH-UA/ciroh_hub.git
cd ciroh_hub
Install Node.js: Download and install the LTS version from nodejs.org if you don’t have it already.
npm install
or npm install –legacy-peer-deps
npm run build
This creates static files in the build directory that can be deployed to a web server.
npm run start
This will start a local development server at http://localhost:3000
View the Site: Open your browser and navigate to http://localhost:3000 to see the local version of CIROH Hub.
Note: Some features (for example, Zotero integrations and other third-party services) require API keys provided via a local
.envfile. If you want to view and test those integrations locally, create an.envfile with the required keys/secrets before running the site. Without these values, the site will still run, but the affected integrations may be unavailable or show limited functionality.
Go to GitHub Actions and Download the build folder from PR validate Action. Unzip the folder and run below command. $ npx http-server