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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for carrotscript-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a3e58475df3e5fc7802741f996f248de1edbdbd97eb3fb43a795c1cbe3fc40 |
|
MD5 | ca813edc082c42b641af218f5f043553 |
|
BLAKE2b-256 | e5520f96b97d75cfebf21b136a5b114019728f1b6ce64ac42ac6ee7ca0d2c66e |