- Run
yarnto install packages - Download pages multistream torrent from metawiki site
- After unzipping, rename the file to
wiki.xmland move it into thedatafolder for further processing - Then run
yarn db:csvto convert the XML to CSV - Then run
yarn db:initto build the database file - Then run
sqlite3 wiki.db.mode csv.import links.csv links- run
CREATE INDEX idx_from_title ON links (from_title);
- Go to the
backendfolder- Add an
.envfile with a your DB's file path as the value forDB_FILE - Run
yarn watchto start the server
- Add an
- Go to the
frontendfolder- Create a
.env.localfile with the following:VITE_API_URL=http://localhost:8000/api - Run
yarn devto start the website
- Create a
dannydi12/wikigraph
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|