Skip to content

cczapka/where2ski

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

where2ski

A little program to help you maximize your tan while skiing. Based on forecast data from Bergfex. Developed and tested with Python 3.6.9 under Ubuntu 18.04.

Screenshot 1

Screenshot 2

Initial setup

Clone project to wherever you want to place it

git clone https://github.com/cczapka/where2ski.git

To get an older version (e.g. without the map functionality), please clone an older tag such as

git clone --branch v1 https://github.com/cczapka/where2ski.git

(Optional) Create a virtual env

You can verify that Python 3 is installed on your system by running:

python3 -V

Let’s start by installing the python3-venv package that provides the venv module.

sudo apt install python3-venv

Switch to the directory where you would like to store your Python 3 virtual environments. Within the directory run the following command to create your new virtual environment:

python3 -m venv where2ski-env

The command above creates a directory called my-project-env, which contains a copy of the Python binary, the Pip package manager, the standard Python library and other supporting files.

To start using this virtual environment, you need to activate it by running the activate script:

source where2ski-env/bin/activate

Once activated, the virtual environment’s bin directory will be added at the beginning of the $PATH variable. Also your shell’s prompt will change and it will show the name of the virtual environment you’re currently using.

Now that the virtual environment is activated, we can start installing, upgrading, and removing packages using pip.

Install required packages.

pip install -r requirements.txt

Execute program

python3 where2ski.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages