Examples
Create a new application:
- In the site,at right hand side,give the application name under
New simple application
.
- After clicking
create
button the application is created and appears on administrative interface page on the left side under installed applications.
- If on the
administrative interface
,click on the application created and click edit.
- After clicking edit Edit application page will open. Under Controllers,click on
Edit
before default.py
- Now under def index() after return type your message to be displayed and save by clicking cntr+s/cmd+s
- Go to the administrative interface by clicking on the link at the top left and click on the website edited. It will redirect to the default page link e.g. http://127.0.0.1:8000/web2py/default/index link
Deploy Application
Follow the steps illustrated in the link to deploy the app and access it from anyehere.
Youtube link to deploy app