Files
ok-server/README.md

34 lines
1.1 KiB
Markdown

# Connectivity Test Server
A simple HTTP server designed for performing connectivity tests. May be run from command line or using a container.
## Usage
### Command Line
To run the server from the command line, use the following command:
```bash
chmod +x ok-server.py
./ok-server.py
```
### Docker
Use the included `Dockerfile` to build and run the server in a Docker container:
```bash
docker build -t ok-server .
docker run -p 8000:8000 ok-server
```
This will start the server and expose it on port 8000.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details
## Disclaimer
The `ok-server.py` file was generated using AI. The owner of the repository has reviewed and approved the generated content, however, it is important to note that the AI-generated code may contain errors or may not be optimized for all use cases. Users are encouraged to review and test the code before using it in production environments. The owner of the repository is not responsible for any issues that may arise from using the AI-generated code.