3 min read Author: klaas

Getting started with PythonOnWheels

It's very easy to develop your app with PythonOnWheels.

This article just shows you how to install PythonOnWheels and to run the "hello PythonOnWheel's world" app. If you are interested in developing a real sample app with PythonOnWheels go to the documentation where we will develop a sample todo app in 3 simple steps.

Getting started path:

Installation:

pip install pythononwheels

See it work:

starting the server for the first time... [<3 Minutes read]

After installing you should have the generate_app script available.This installs the PythonOnWheels Application with the given name (-n) inthe given path (-p)

generate_app -n todo -p <path>

We now have a a PythonOnWheels application, named todo in the given <path>.

Go on, create a virtualenv and install the requirements

Switch to a directory before our app dir and create a virtualenv:

virtualenv todo

Then cd into the todo directory, activate the virtualenv and install the requirements with

pip install -r requirements.txt

Now we can run the server to see the "hello PythonOnWheel's world" site:

python server.py

Point your browser to:

http://localhost:8080


You should see something like this:


That's is it!

You have created your first PythonOnWheels Application.

Working with Databases to store your data is the next step. But it's as easy as this.


Watch this short asciinema to sum it up:

Next:

Find more in depth hands on tutorials in the documentation