aimacode / aima-python

Python implementation of algorithms from Russell And Norvig's "Artificial Intelligence - A Modern Approach"
MIT License
8.06k stars 3.81k forks source link

Notebooks on a server #527

Open antmarakis opened 7 years ago

antmarakis commented 7 years ago

I have been thinking how to combat the current issue of Notebooks (unable to run code in GitHub, execute Javascript and do stuff in general). I believe a good solution is to host the Notebooks on an external server. A friend of mine used Heroku for something similar and I think we could get the Notebooks to work on there (or similar services).

I have not looked into this yet. If this is an option we want to explore, I will give it a look.

reachtarunhere commented 7 years ago

@MrDupin Couple of months ago I mentioned in discussion of issue #428 about a solution.

One solution is hosting our own instance of JupyterHub on Google App Engine/Digital Ocean etc. I haven't still worked out how to integrate it with GitHub auth (The other option is creating accounts manually which isn't useful in our case).

I think it is one of the options we can consider.

antmarakis commented 7 years ago

That is one of the options I came across, but I didn't have time to look into the software. I definitely have it in my sights, but first I want the greenlight to start looking at hosting on servers away from Github.

antmarakis commented 7 years ago

I read a bit on JupyterHub and it seems great. I will look into hosting it on a server.

@reachtarunhere: When you researched it, what did you use that made it difficult to integrate with GitHub auth?

reachtarunhere commented 7 years ago

@MrDupin There was nothing problematic as such what I meant in the above comment was that I had not given it a thorough look to figure out how to get it to work. I am pretty sure it is doable and you should try it out if time permits.

antmarakis commented 7 years ago

Got it, thanks.

antmarakis commented 7 years ago

Another option is AWS. It is paid after one year though, I don't know if that's an issue.

reachtarunhere commented 7 years ago

If anyone is still looking at JupyterHub I found a talk that might be very relevant here. https://www.youtube.com/watch?v=gSVvxOchT8Y