Installation
The Web Teaching Environment will run on Python 2.7, Python 3.4, and
Python 3.5 (recommended).
Core System
To install the Web Teaching Environment, download the latest version from
https://bitbucket.org/mhall/web-teaching-environment and install using the
following command:
pip install WebTeachingEnvironment-x.y.z.tar.gz
It is recommended that you install the Web Teaching Environment into a
virtual environment.
To enable the Web Teaching Environment to work, you must then install either
pycryptopp (Python 2.7 only) or PyCrypto package (Python 2.7 and 3.*)
to enable the use of session cookies. To install pycryptopp run:
To install PyCrypto run:
Database Access
You will also need to install database access libraries for the database you
intend to use. The Web Teaching Environment has been tested with PostgreSQL
and MySQL. SQLite is not supported, as it does not provide the features
required to migrate the database when the Web Teaching Environment is upgraded.
Other database systems that are supported by SQLAlchemy can be used, but
have not been tested.
To use PostgreSQL as the database, run:
For MySQL run:
After the installation has completed, move on to the Setup.