laurenceputra / mongo_notebook_manager

IPython Notebook Manager in MongoDB
GNU General Public License v3.0
4 stars 5 forks source link

enable directories #3

Closed d1ffuz0r closed 10 years ago

d1ffuz0r commented 10 years ago

Hi. I have done some work on directories support and also moved code from src directory for better development process (it was impossible use python setup.py develop)

To create directory (it should be done manually from mongo client) db.insert({'name': test, 'created': '2014-09-12T16:26:51.025Z','lastModified': '2014-09-12T16:26:51.025Z', 'path': ''})

Now notebooks in root directory should have "path": "" and notebooks in 'test' directory should have "path": "test".

Review it please (do not merge yet), I will add the script for importing notebooks bit later.

laurenceputra commented 10 years ago

thanks! this was my first python module, and I wasn't sure what the directory structure should be like. looked through the code, seems fine. Let me know when you want it merged and I'll do some tests

d1ffuz0r commented 10 years ago

added script

laurenceputra commented 10 years ago

I'll look through and test it over the weekend. Thanks!