drincruz / cherrypy-playground

Playing around with CherryPy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cherrypy-playground

Playing around with CherryPy

Local Development

Python Virtual Environment

It's nice to have a clean virtual environment in Python. To create one, you can just run the following: python -m venv {PATH_TO_VENV} To use one, you need to source it: source {PATH_TO_VENV}/bin/activate

Install Python Requirements

Run pip install -r requirements.txt

Docker

Building the container

Running the following will build the Docker container: docker build -t cherrypy .

Running the container

Running the following will run the Docker container: docker run -p 8080:8080 cherrypy

About

Playing around with CherryPy

License:MIT License


Languages

Language:Python 68.0%Language:JavaScript 27.5%Language:HTML 3.1%Language:Dockerfile 1.0%Language:CSS 0.5%