Skip to content

cs02301/test

Repository files navigation

Python Workshop

This is a repo to remember the basics of python programming language.

Python

How to start

Fork the current repo. Look in the right corner.

Now the repo is in tour profile.

Clone the repo in your local machine in a new and empty directory.

In your terminal

  mkdir my-new-directory
  cd my-new-directory
  git clone <the repo link> .

Open Visual Sctudio Code

After clone the project, open Visual Studio Code the working directory. In the terminal of Visual Studio Code create a new Virtual Environment

  python -m venv myvenv

Active the venv (Linux)

  source myvenv/bin/activate

Install requirements

  pip install -r requirements.txt

Start solving the tests.

Commit changes

To run tests, you should to complete the tests and commit them.

  git add <file>
  git commit -m "your msg"
  git push -u origin main

Then go to your github repo

Look in the actions tab.

image

You will find the tests running.

When all will pass you've finished the workshop.

Send much commits as you need.

Updatings.

If your teachers send you an advice, you should to add a new remote to receive the new changes.

Warning

You should to use previously

  git status

Your local repo should be clean after receive the new updates.

  git remote add original https://github.com/sigmotoa/dev_workshop.git
  git pull original main
  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages