- Server: Debian 8 with mongodb installed
- Client: Windows 10 with Python 3.6 installed
https://www.mongodb.com/download-center?jmp=nav
https://www.python.org/downloads/
-
tkinter
-
pymongo
- if you not have pip yet: https://pip.pypa.io/en/stable/installing/
- download: https://bootstrap.pypa.io/get-pip.py
- install: run in cmd ($ python3 get-pip)
- use: pip install
- if you not have pip yet: https://pip.pypa.io/en/stable/installing/
- sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
- echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list
- sudo apt-get update
- sudo apt-get install -y mongodb-org
- sudo service mongod start
- sudo apt-get update
- sudo apt-get install python3
- pip install pymongo
- pip install tkinter
- Edit file bnotebook/module/mymongodb/basedbclass.py change: HOST = "192.168.99.100" and PORT = 32777 to your ip and port where mongodb install (default port is 27017)
- Go to application directory $ cd bnotebook $ python3 bnotebook-gui.py
Thank you!