Skip to content

russellc92/python-http-server

 
 

Repository files navigation

python-http-server

A simple Python HTTP Server that serves static content There are several ways that this small application can be run:

Running as a Systemd Service

  • In the Service File, change the User property to the user that is going to be running the server, the default is jenkins:
     [Service]
     User=jenkins
    
  • Install the server
     sudo make install
  • Start the Server with systemctl
     sudo systemctl start python-systemd-http-server
  • The server can be accessed on the default port of 9000:
     http://localhost:9000

Running in a Docker container

  • Build the docker image and run the container:
make docker_up

About

Python HTTP Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 56.7%
  • Makefile 21.1%
  • HTML 17.4%
  • Dockerfile 4.8%