Skip to content

jensen-und-komplizen/csd_adventure_python

Repository files navigation

Adventures in Python

This repo is meant to be the foundation for the CSD class offered by Falk Kühnel and Björn Jensen of Jensen und Komplizen.

Preparation

In order to be able to follow this tutorial you need to have to install the following things:

  • Python 3.x
  • PIP

Step 01 - Local Setup Instructions

  1. Install Python version 3.11
  2. Run python3 -m venv venv to create the virtualenv
  3. Activate venv: source venv/bin/activate
  4. Install needed dependencies (venv activated) by running: pip install -e .
  5. Run local flask development server: flask run (if you get any "used port"-error, you can change the port by setting the --port=XXXX argument like i.e. flask run --port=5001) or use the entryfile like "bash entry.sh"

Server Setup

run bash start.sh or bash restart.sh to make the web app persistent as a service.

Run tests

  1. Before Pushing to main, run python -m unittest discover tests/
  2. Check if everything is green ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published