This article just shows you how to install PythonOnWheels and to run the "hello PythonOnWheel's world" app.
Getting started path:
pip install -U pythononwheels
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) in the given path (-p)
generate_app -n todo -p <path>
We now have a a PythonOnWheels application, named todo in the given <path>.
If you cannot find the generate_app script
Check this short FAQ documentation
Switch to the todo app directory create a virtualenv:
python -m venv venv
(Or use the classic virtualenv for this)
.\venv\Scripts\activate
source ./venv/bin/activate
and install the requirements with
pip install -r requirements.txt
Make sure that the directory "above" your chosen <path>
export PYTHONPATH=$PYTHONPATH:/development
set PYTHONPATH=%PYTHONPATH%;c:\development
python server.py
Point your browser to:
http://localhost:8080
The reason is probably that chrome auto redirects you to https. To turn this of for localhost see this on SO.