Open kohlhase opened 7 years ago
Also: How to use it?
insert
operation: Get it from Docker-Hub docker pull mongo:5
and run it docker run -d -p 27017:27017 --name mongo mongo:5
A\d{6}\.txt
files) to all/
sbt "runMain library.Library"
(Caution: This does not remove documents in the database. Running it again will add all documents again, doubling the document count)oeis.json
: docker exec -it mongo mongoexport --db OEIS --collection theory_verified --out oeis.json && docker cp mongo:/oeis.json .
Also: How to use it?
- Install sbt: https://www.scala-sbt.org/download.html
- Currently: Get the changes of Updating ISFA #11 and the patches in the comment (Copy
- Have a running MongoDB 5.x instance - version 6 drops support for the
insert
operation: Get it from Docker-Hubdocker pull mongo:5
and run itdocker run -d -p 27017:27017 --name mongo mongo:5
- Copy all the OEIS files (that is, the
A\d{6}\.txt
files) toall/
- Run ISFA:
sbt "runMain library.Library"
(Caution: This does not remove documents in the database. Running it again will add all documents again, doubling the document count)- Retrieve the documents from the database as a JSON file
oeis.json
:docker exec -it mongo mongoexport --db OEIS --collection theory_verified --out oeis.json && docker cp mongo:/oeis.json .
Added in #12
when I come to this repos, I would like to quickly know