Giter VIP home page Giter VIP logo

altschool-python's Introduction

Hi there! ๐ŸŒš

This is a repository containing all notes and files created while learning to work with Python (Flask) at AltSchool Africa.

Please don't send pull requests

Caveat: I use a MacBook, so the notes and files about installation and features might differ from what would apply to your computer. Trust LMS, Live Classes and Google for a better-tailored experience.

If you like this structure and want to use it for your own notes or just go through for tips and practice, follow these steps:

  1. Fork the original repo on GitHub
  2. In your terminal, cd into the folder you use for AltSchool or Programming on your computer:
    eg: cd ~/AltSchool
  3. Clone the repo from your personal GitHub into the folder:
    git clone https://github.com/YourGitHubUsername/altschool-python
  4. Feel free to rename the cloned folder. This is entirely optional:
    mv altschool-python Python
  5. CD into the cloned folder:
    cd altschool-python (or cd Python if renamed)
  6. Add an upstream, which links to the original GitHub repo:
    git remote add upstream https://github.com/Ze-Austin/altschool-python
  7. Create and move into a new branch (preferably using your name or GitHub username for this repo):
    git checkout -b YourName
  8. Open the folder in your IDE to make your own notes and play with code files. Try it. Break it. Fix it. Repeat. To open the current folder in VSCode from the terminal:
    code .
  9. When you're done for the session:
    • Stage your changes on git by adding them:
      git add . or git add file.name
    • Then commit the staged changes:
      git commit -m 'message here'
    • Alternatively, you can add and commit at once:
      git commit -am 'message here'
  10. Push the changes to your branch:
    git push origin branchname
  11. This is when you'll usually create a pull request on GitHub, but please don't. There's no point in merging everyone's personal notes
  12. Update your workflow with my weekly updates by following these steps in order:
    • Move into main:
      git checkout main
    • Update main with changes from my GitHub repo (upstream):
      git pull upstream main
    • Push my changes to your forked GitHub repo (origin), for online storage:
      git push origin main
    • Move into your named branch:
      git checkout branchname
    • Update your named branch with changes from main:
      git merge main
    • Make any changes you want to, then return to Steps 9 & 10.

Note: Every time you want to work on this repo, ensure that you've checked out into your branch to freely make/edit your notes without affecting others:
git checkout branchname

Timeline: I usually update this repo some hours after the latest class, and then announce on Slack. Caleb's (and any other Python tutor's) folder will be updated when we get the files on Slack.

Bonus: There's a Git Cheat Sheet file in here. It helps with reminders and explanations of Git commands in the Terminal. Further explanation can be found online.

Thanks for dropping by. Have fun! ๐Ÿ

altschool-python's People

Contributors

ze-austin avatar

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.