Lux is a library for developing web applications with Python and javascript frameworks such as AngularJS.
- Master CI
- Dev CI
- Documentation
- Downloads
- Source
Hard requirements
Soft requirements
- sqlalchemy and pulsar-odm used by
lux.extensions.odm
- markdown used by
lux.extensions.static
- sphinx used by
lux.extensions.static
- pyjwt used by some authentication backends in
lux.extensions.rest
- pbkdf2 as an optional password encryption algorithm in
lux.extensions.rest
First you need to install nodejs and grunt cli:
npm install -g grunt-cli
Subsequently install the development packages via:
npm install
To build lux.js use grunt:
grunt build
Angular templates are compiled into javascript via the grunt-html2js package.
For testing postgreSQL create a new role:
CREATE ROLE lux WITH PASSWORD 'luxtest';
ALTER ROLE lux CREATEDB;
CREATE DATABASE luxtests;
GRANT ALL PRIVILEGES ON DATABASE luxtests to lux;