Sinetheta / blueprintnotincluded

Container for 3 components of blueprintnotincluded.org

Home Page:https://blueprintnotincluded.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blueprintnotincluded

This is the source repo of blueprintnotincluded.org

It is a combined curated version of the original blueprintnotincluded web app.

Easy local testing w/ docker-compose

docker-compose up

Visit http://localhost:3000

Docker image building

Build the image

docker build . -t bpni:latest

Run mongodb (mongoose version only allows mongo version 4.2)

docker run -d -p 27017:27017 mongo:4.2

Run the image and backend

docker run -d -p 3000:3000 -e JWT_SECRET=mysecretkey -e ENV_NAME=development -e CAPTCHA_SITE=localhost -e CAPTCHA_SECRET=mysecretkey -e DB_URI="mongodb://127.0.0.1:27017/blueprintnotincluded" bpni:latest

Visit http://localhost:3000

Image reconstruction

Export iamges from oniextract2020 Copy assets/manual/ into assets/images npm run fixHtmlLabels -- database.json npm run addInfoIcons -- database.json npm run generateIcons npm run generateGroups npm run generateWhite npm run generateRepack zip assets/database/database.json copy zip to frontend/src/assets/database copy assets/database/database-repack.json to frontend/src/assets/database.json

About

Container for 3 components of blueprintnotincluded.org

https://blueprintnotincluded.org

License:MIT License


Languages

Language:TypeScript 82.0%Language:HTML 13.2%Language:CSS 1.8%Language:JavaScript 1.2%Language:Shell 1.1%Language:Dockerfile 0.4%Language:EJS 0.1%Language:PowerShell 0.1%Language:Batchfile 0.0%