Skip to main content

Create a quick local testing server

Project description

CarrotScript Testing Server

This is an package that create a local testing server so you can test a application or something else on your computer.

Installation

To install this, we reccomend using PIP. Run the following on your terminal

pip3 install carrotscript

Usage

To use this package, in a python file, run this:

from carrotscript import carrotscript

Then, it should ask a question:

What port do you want to create your local server in: 

Answer a port like:

What port do you want to create your local server in: 8080

Then it should give something like this:

Web Server is running at http://localhost:8080
Close this tab to exit
Logs:

Then visit http://localhost:8080 (or whatever yours is) and you got a web server

TIP: cd to a directory and create a index.html file in there. Then, create a testing server there


© Greatly Gravitate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

carrotscript-0.0.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

carrotscript-0.0.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page