[web.py] How to run our web app.

Ahh, I forget to mention about this.

In development mode ( or debug mode), we can run by submit the comand:

python code.py

This will start our app on debug-built-in server at : 

http://0.0.0.0:8080/   

Or we are also able to specify which port we want to run at by adding the port number.

python code.py  1234

Ola, done.

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: