Giter VIP home page Giter VIP logo

Comments (3)

betatim avatar betatim commented on September 16, 2024

change the name of the folder "materials" to something else?

The target directory is an argument to nbgitpuller

i add some notebooks to it today, it doesn't seem to update.

If you add a notebook to master and stop and start your server (or logout and back in) then the contents of materials should get updated. nbgitpuller runs every time your single user notebook server starts up.

nbgitpuller will update files that have not been edited by a student. If they have been edited it won't update them (assumption is the student wants to keep those changes). If a student wants to "start from scratch" they can delete that notebook and restart their server.

updating the data

these lines check if there is a folder called earth-analytics/data/spatial-vector-lidar and if not copies over the original data. It doesn't look at it on a file by file basis.

i just added 2 new datasets yesterday and updated earthpy

Right now it doesn't fetch all of the datasets that earthpy knows about. Only the lidar one via this line. We can duplicate this to fetch more datasets, or eventually build a small function as part of earthpy that fetches all datasets.

how do I know that we are using a new image on the hub (and hence should see my changes)?

Right now that is hard to tell. We could/should create a file called something like /dockerimagename that contains the name and the tag of the docker image you are using. Then you could look at that from within the hub. To see which version you are getting. If you like the idea we should make a separate issue so it doesn't get forgotten.

from hub-ops.

betatim avatar betatim commented on September 16, 2024

doc docs docs!?

Yes! I have been adding READMEs all around the repo and started day-to-day.md but right now it isn't organised well enough yet. The idea of day-to-day was to collect short instructions on things like changing versions, adding a new hub, short command snippets for debugging, etc

from hub-ops.

lwasser avatar lwasser commented on September 16, 2024

ok @betatim there are a few things not working. The most important thing is the data. i updated the env as we discussed. Then i updated the hub-ops to the most recent build. But my data do not update. they are still the original data that i had when i logged in this morning. i can't delete the data dir in jupyter because it says the directory has files in it.Can you see if you can get the data to update to the most recent version of earthpy? it doesn't seem to update the data when i update earthpy as we discussed. we need the newest data for the workshop tomorrow

  1. the second big issue is that no one can actually use the hub except me (my admin works) but the other accounts do not work. you'll see a bunch of screenshots in the #jupyterhub channel.
    Here is one: we need this to work for our workshop.
    screen shot 2018-07-19 at 4 42 41 pm

i'm hoping you know what is happening :) i didn't think to test other accounts earlier today after seeing my account work just fine. the data thing also is very weird. i don't know why it won't update the data download once it downloads it EVEN THOUGH i did update earthpy... OH yes i do. replace=False that function looks for the folder and will only replace it if this argument is set. BUT i renamed the directory and it still didn't redownload. ... not sure what is up!

from hub-ops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.