2 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. (Just running the server). 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... [<1 Minutes]

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 <name> -p <path>

We now have a a PythonOnWheels application in the given path.

Go on using pipenv

Now let's switch to our newly created app/dir and do a:

pipenv install

Or using virtualenv and pip

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

virtualenv todo

Then cd into the todo directory and install the requirements with

pip install -r requirements.txt

Switch (cd) to it, activate and runThen start the server:

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:


Watch this short asciinema to sum it up:

Next: Go to the in depth quick-path's or read the documentation