Comments (5)
Looks like pymongo is pinned to an old version while the mongodb version in docker compose is using the latest image available.
You can try changing pymongo==2.6
to just pymongo
in requirements.txt and see if using the latest version of pymongo works. I haven't tested that so if there were breaking changes in the library (I'm going to bet on a yes on this one), that might need to be fixed as well.
from explainshell.
I tried out the approach with the pymongo @idank but it didn't help me atleast. Can't look up anything in the local explainshell.
from explainshell.
Ok I fixed a few things and just went through this workflow and it worked for me (pull before):
DB=explainshell-db-1
# download db dump
curl -L -o /tmp/dump.tar.gz https://github.com/idank/explainshell/releases/download/db-dump/archive.tar.gz
tar xzvf /tmp/dump.tar.gz -C /tmp/
# start containers, restore from dump
docker-compose build
docker-compose up
docker cp /tmp/db.backup/ $DB:/tmp/dump
docker exec $DB mongorestore /tmp/dump
Give this a try and let me know if that works for you.
from explainshell.
from explainshell.
Hmm I'm not sure what's going on there with the Windows looking path. Try to exec into the container and see if it copied the files over, something like docker exec -it $DB bash
, ls -la /tmp/dump
.
from explainshell.
Related Issues (20)
- Project dependencies may have API risk issues
- Mobile version HOT 3
- 'time' command not showing information
- ffmpeg command not explained correctly HOT 1
- any intention on making a cli interface for this? HOT 8
- Can't explain git log -L HOT 4
- Wrong numerical file permissions HOT 2
- Add the -W flag to the ping command
- Export usages as docopt HOT 1
- TODOs still relevant? HOT 1
- fails to explain docker's command to add repo
- curl: unknown parameter "--fail-with-body"
- the parser doesn't support 'pattern' constructs in the command you tried.
- Parser doesn't handle less's (and probably vim's?) "plus" arguments
- Maybe add `git clone https://github.com/idank/explainshell.git` to the `Running explainshell locally` section. HOT 3
- Parser doesn't support Arithmetic Expansion
- Support prompt expansions
- Multiline explainer (with popups)
- Doesn't recognise parameter in sysctl -a
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explainshell.