Getting Started
Welcome to JudaicaLink! This guide will help you set up the documentation environment and get started with exploring and contributing to the JudaicaLink project and its sub-projects.
Prerequisites
Before getting started, ensure you have the following installed:
Python 3.8 or later
pip (Python package manager)
Virtual environment (optional but recommended)
Git (for cloning the repository)
Docker (if using containerized deployments)
Setting Up Locally
Follow these steps to set up the different projects locally:
JudaicaLink Docs
Clone the Repository
git clone https://github.com/judaicalink/judaicalink-docs.git
cd judaicalink-docs
Create and Activate a Virtual Environment (Recommended)
python -m venv venv
source venv/bin/activate # On macOS/Linux
venv\Scripts\activate # On Windows
Install Dependencies
pip install -r requirements.txt
Build the Documentation Locally
cd docs
make html # On Linux/macOS
# or
make.bat html # On Windows
The generated HTML files will be located in `docs/_build/html/`. Open `index.html` in a browser to view the documentation.
JudaicaLink Labs
Clone the Repository
git clone https://github.com/judaicalink/judaicalink-labs.git
cd judaicalink-labs
Install Dependencies
pip install -r requirements.txt
Run the Development Server
python manage.py runserver
JudaicaLink Site
Clone the Repository
git clone https://github.com/judaicalink/judaicalink-site.git
cd judaicalink-site
Install Hugo (if not installed already)
brew install hugo # On macOS
sudo apt install hugo # On Linux
Build and Serve the Site
hugo server
JudaicaLink Pubby
Clone the Repository
git clone https://github.com/lod-pubby/pubby-django.git
cd pubby-django
Install Dependencies
pip install -r requirements.txt
Run the Development Server
python manage.py runserver
Using Docker for Local Deployment
For a full-stack deployment of all projects together, use Docker:
Clone the Docker Repository
git clone https://github.com/judaicalink/docker.git
cd docker
Set Up the Environment
cp .env.example .env
Build and Start Containers
docker-compose up --build -d
Using Read the Docs
JudaicaLink documentation is hosted on Read the Docs. You can view the latest version online at:
Updating Documentation
To contribute updates to the documentation:
Make changes to the .rst files in the docs/ directory.
Rebuild the documentation using:
make html
Preview the changes locally by opening _build/html/index.html in a browser.
Commit and push changes:
git add .
git commit -m "Updated documentation"
git push origin main
Next Steps
Read the User Guide for more details on using JudaicaLink.
Check the Developer Guide for information on contributing code.
Visit the FAQ if you encounter any issues.