Currently under development.
cd aptlyweb/static
sudo npm install -g gulp
npm install
gulp webpack
ln -s $APTLYWEB$/static/dist/index.html $APTLYWEB$/templates/index.html
python setup.py bdist_wheel --universal
1. virtualenv venv
2. source ./venv/bin/activate
3. pip install aptlyweb-x.x-py2.py3-none-any.whl
4. export APTLYWEB_SETTINGS=/path/to/config
5. ./venv/bin/aptlyweb_init_db
6. ./venv/bin/aptlyweb_start
SECRET_KEY = 'ChangeThis'
APTLY_URL = 'localhost:8080'
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:foobar@localhost/aptlyweb'
SQLALCHEMY_TRACK_MODIFICATIONS = True
SECURITY_USER_IDENTITY_ATTRIBUTES = 'email'
#Ldap config, reference: http://flask-ldap3-login.readthedocs.io/en/latest/configuration.html
LDAP_HOST = 'ldap://48.151.62.34'
LDAP_PORT = 3268
LDAP_BASE_DN = 'DC=company,DC=com'
LDAP_BIND_DIRECT_CREDENTIALS = True
Frontend: Angular, ES6, Webpack and Angular Material