edelooff / newWeb

Fork of uWeb
ISC License
0 stars 1 forks source link

Handle with care

This fork of µWeb is very much a work in progress to fix some of the bad design decisions made during its development. For a full description of the rough edges of it, refer to the two relevant blog posts:

Work so far

Example projects

The following example applications for newWeb exist:

newWeb installation

The easiest and quickest way to install newWeb is using Python's virtualenv. Install using the setuptools installation script, which will automatically gather dependencies.

# Set up the Python virtualenv
virtualenv env
source env/bin/activate

# Install newWeb
python setup.py install

# Or you can install in development mode which allows easy modification of the source:
python setup.py develop

Installation requirements

newWeb depends on mysql-python. To build the database connector from source you will need development headers for your version of Python and MySQL client. For Debian and Debian-derived flavors Linux these can be installed using apt:

sudo apt-get install python-dev libmysqlclient-dev

Alternatively, you can choose to install a precompiled database driver. For Debian and Debian-derived flavors of Linux this is available as python-mysqldb.