Skip to content

christophevg/baseweb-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baseweb demo

This repository is a small demo application for baseweb. See https://github.com/christophevg/baseweb for more information on baseweb.

Running the Demo

First prepare a suitable execution environment, with your favorite virtual environment runner - mine is PyEnv:

% mkdir baseweb-demo
% cd baseweb-demo
% pyenv virtualenv baseweb-demo
% pyenv local baseweb-demo

Next clone the baseweb-demo repository, install the minimal requirements (baseweb and gunicorn + eventlet to run it) and run the server...

% git clone https://github.com/christophevg/baseweb-demo
% cat baseweb-demo/requirements.txt 
baseweb>=0.3.0
oatk
eventlet
gunicorn
% pip install -r baseweb-demo/requirements.txt
% gunicorn -k eventlet -w 1 baseweb-demo:server

Now visit http://localhost:8000.

baseweb demo