PWeb Quick Start

Eager to get started? This page gives a good introduction to PWeb. Follow below steps to start the PWeb.


Before start PWeb


Create project using CLI

# Install PWeb Dependency
pip install -U pwebb

# Create project using CLI
pwebcli project init -n <specify_project_name>

It will automatically create a project with the name. For example the project name is example then it will create an example directory and initialize the project in it.

Run the project

cd <specify_project_name>

# If windows then active the virtual environment using below command
venv\Scripts\activate

# For Linux or MacOS
source venv\bin\activate

# Run project using below command
python pweb_app.py

The project will run in http://127.0.0.1:1212