Installation Guide¶
This guide covers installation for different use cases: data consumption, API integration, and development.
For Data Consumers¶
Download Pre-Built Datasets¶
No installation required! Simply download the files:
- Go to Releases
- Download your preferred format:
vehicles.json(23 MB)vehicles.db(18 MB)vehicles.sql(25 MB)vehicles.csv(15 MB)vehicles.xml(28 MB)
Verify Downloads¶
Check file integrity with SHA256 checksums:
For API Consumers¶
No Installation Needed¶
The API is hosted and ready to use:
Base URL: https://api.open-ev-data.org/v1
Test the connection:
Optional: API Client Libraries¶
For Contributors¶
Dataset Development¶
Prerequisites¶
Installation Steps¶
git clone https://github.com/open-ev-data/open-ev-data-dataset.git
cd open-ev-data-dataset
npm install
npm run validate
Verify Installation¶
Expected output:
API Development¶
Prerequisites¶
Installation Steps¶
Clone and build:
git clone https://github.com/open-ev-data/open-ev-data-api.git
cd open-ev-data-api
cargo build --release
Verify Installation¶
Expected output:
Documentation Development¶
Prerequisites¶
Installation Steps¶
Install Poetry:
Clone and install:
git clone https://github.com/open-ev-data/open-ev-data.github.io.git
cd open-ev-data.github.io
poetry install
Verify Installation¶
Visit http://localhost:8000 to see the documentation.
Multi-Repository Workspace Setup¶
For contributors working across multiple repositories.
Step 1: Create Parent Directory¶
Step 2: Clone All Repositories¶
git clone https://github.com/open-ev-data/open-ev-data-dataset.git
git clone https://github.com/open-ev-data/open-ev-data-api.git
git clone https://github.com/open-ev-data/open-ev-data.github.io.git
git clone https://github.com/open-ev-data/.github.git
Step 3: Open Workspace¶
Or in Cursor:
Step 4: Install All Dependencies¶
In separate terminals:
cd open-ev-data-dataset && npm install
cd ../open-ev-data-api && cargo build
cd ../open-ev-data.github.io && poetry install
System Requirements¶
Minimum Requirements¶
| Component | Requirement |
|---|---|
| RAM | 4 GB |
| Disk Space | 1 GB free |
| OS | Linux, macOS, Windows 10+ |
| Internet | Required for downloads |
Recommended Requirements¶
| Component | Requirement |
|---|---|
| RAM | 8 GB+ |
| Disk Space | 5 GB+ free |
| CPU | 4 cores+ |
| OS | Linux, macOS, Windows 11 |
Platform-Specific Notes¶
Windows¶
Install Git Bash or WSL2 for better compatibility:
Use PowerShell for native Windows commands.
macOS¶
Install Xcode Command Line Tools:
Use Homebrew for package management:
Linux¶
Install build essentials:
Docker Setup (Optional)¶
API Server¶
Pull the Docker image:
Run the server:
docker run -p 3000:3000 \
-v $(pwd)/vehicles.db:/app/vehicles.db:ro \
ghcr.io/open-ev-data/ev-server:latest
Documentation¶
Build and serve locally:
Troubleshooting¶
Node.js Installation Issues¶
Check version:
If outdated, use nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
nvm install 18
nvm use 18
Rust Installation Issues¶
Update Rust:
Check version:
Poetry Installation Issues¶
Verify installation:
Update Poetry:
Permission Errors¶
On Linux/macOS, avoid using sudo with npm:
Next Steps¶
-
Start using the data
-
Make your first contribution
-
Complete development environment
-
Explore the API