Skip to content

1 — Initial Setup Task

narasi15 edited this page Feb 11, 2020 · 2 revisions

Objectives

  • Set up Student Wiki Page in repo
  • Start course journal on repo wiki.
  • Create new image and container from the bcb420 Dockerfile, after installing Docker
    Time estimated: 2 h; taken 3 h; date started: 2020-01-10; date completed: 2020-01-10

Progress

  • Successfully setup wiki page
  • Completed first Journal entry
  • Downloaded and installed Docker, and did the following:
    • cd doodle/cheers2019 && docker build -t narasi15/cheers2019 (to build and tag a Docker image)
    • docker run -it --rm narasi15/cheers2019 (to run the container)
    • docker login && docker push narasi15/cheers2019

Conclusion and outlook

  • A lot of time was spent trying to push local commits on my branch to the remote, as I kept getting a permission error, and a url request denied 403 error. I had to do a bit of digging to set the remote branch url correctly. I used the command git remote set-url origin. Usually, pushing directly to the master branch is something that is not encouraged, so I went the long way and forked the repo instead.

External Resources

https://stackoverflow.com/questions/7438313/pushing-to-git-returning-error-code-403-fatal-http-request-failed


This copyrighted material is licensed under a Creative Commons Attribution 4.0 International License. Follow the link to learn more.