Skip to main content

A web tools by Python.

Project description

webit

A web tools by Python.

Install

pip install webit

Use

cd to you working directory and run command:

webit.bat

if can’t find webit command, try:

python -m webit

open broswer with url http://127.0.0.1:8000, add shell script and run it.

Other tips

1.set http port 80

webit 80

2.authenticate with username and password (admin admin)

webit -u admin -p admin

3.set the working directory (/tmp)

webit -d /tmp

4.bind address with 127.0.0.1

webit 127.0.0.1:8000

5.use as wsgi

# set username and passwor
export WSGI_PARAMS="-u admin -p admin"
# run wsgi with gunicorn
gunicorn -b 0.0.0.0:8000 webit.wsgi:application

CHANGES

0.0.1

  • init version.

0.0.2

  • fix command error.

0.0.3

  • fix static file error.

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

webit-0.0.3.tar.gz (66.6 kB view hashes)

Uploaded Source

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