Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Guild Wars 1 JSON Data ✦ Postgres RDBMS ✦ Wiki Crawling Scripts

Notifications You must be signed in to change notification settings

Newtonian-Games/guild-wars-json-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guild Wars JSON Data

All Data in .json Files!

Use however you like

Creating a Postgres Database (optional)

Follow these instructions to turn the JSON files into a normalized Postgres DB! You don't need to keep using Supabase afterwards if you don't want since it creates a regular Postgres DB you can connect to.

To run migrations for this project, use the Supabase CLI:

Prerequisites

  • supabase.com account/project setup
  • Node/Npm installed (we recommend using Node Version Manager (NVM))

1. Login

npx supabase login

2. Link to your project

Find the project ID by visiting your supabase.com dashboard for the project and looking at the ID in the URL

npx supabase link --project-ref <project-id>

3. Run migrations

This creates all tables AND seeds them with relational data!

npx supabase migration up --linked

Note for maintainers: If you've updated JSON data files, regenerate migrations first with node scripts/generate-seed-migrations.js

Self-Host Supabase (Optional)

If you prefer to self-host supabase, follow the guide: Supabase Local DB

About

Guild Wars 1 JSON Data ✦ Postgres RDBMS ✦ Wiki Crawling Scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors