Search api for data.jain.wiki
This project uses git submodules to include external data dependencies. Follow these steps to properly set up the development environment:
Option 1: Clone with submodules in one command (recommended)
git clone --recurse-submodules https://github.com/jain-wiki/searchapi.gitOption 2: Clone repository first, then initialize submodules
git clone https://github.com/jain-wiki/searchapi.git
cd searchapi
git submodule update --init --recursiveIf you've already cloned the repository without submodules, you can fetch them with:
git submodule update --init --recursiveTo update all submodules to their latest commits:
git submodule update --remoteatlas-data/- Git submodule containing data files from jain-wiki/atlas-datasrc/- Main source code directorydrizzle/- Database migration files
- Ensure you have Bun installed
- Install dependencies:
bun install
- Set up the database:
bun run migrate
- Start the development server:
bun run dev