Closed abarciauskas-bgse closed 1 year ago
@abarciauskas-bgse, you should be able to run make docker-serve
, but that appears to be broken. I'm chatting with Ryan about it.
In the meantime, you should be able to run this:
docker run --rm -it -v ${PWD}:/srv/jekyll -p 4000:4000 jekyll/jekyll:3.8.5 bash -c "bundle install && bundle exec jekyll serve -H 0.0.0.0"
That works for me, and allows me to hit http://localhost:4000 to see the site locally.
Further, while that's running, you can make changes to files and they'll automatically get built for you. You can then refresh your browser to see your changes.
@chuckwondo nice that worked perfectly! @rbavery I think this should be g2g but you let me know what else might need doing.
@abarciauskas-bgse just a heads up that with #158 it might be easiest to copy changes from this PR to a new branch once #158 is merged. All markdown lessons are reformatted to a new modern lesson template.
Thanks for the heads up @rbavery . I'm going to close this for now as I'm not sure when I will be able to finish it up.
This PR adds setup instructions for earthaccess in setup.md, adds the library to environment.yaml and adds an example of how to use it as a challenge in chapter 5. I am not sure how to preview the documentation locally, so if there instructions on how to create a preview locally or hosted, let me know!