A Python utility to manage the admin account password and LDAP membership of the OA and the VCM
- Linux Ubuntu 14.04 server
- Python 2.7
wget -O install.sh https://redacted/install.sh
chmod +x install.sh
sudo ./install.sh [venv]
# Note: venv is optional but recommended - if specified will install all packages in a Python virtual environmentCreate required environment variables
export hpaccess_username=<'Your AD User'>
export hpaccess_password=<'Your AD Password'>
export hpaccess_admin_pass=<'New Admin Password for OAs and VCMs'>Create Yaml config file
cp hpaccess_config.yaml.example ~/hpaccess_config.yaml
vim ~/hpaccess_config.yamlRun the script
python src/main/python/HPaccess/hpaccess.pyClone the repository
git clone https://redacted.git
cd HPaccessInstall packages and dependencies
chmod +x build.sh
sudo ./build.sh
source venv/bin/activateBuild the application
pyb -XLink module for development
cd target/dist/HPaccess*/
python setup.py developRun unit tests
pyb run_unit_tests