Skip to content

Sinetheta/blueprintnotincluded

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published