1: Install virtualenv for windows
download https://bootstrap.pypa.io/get-pip.py
c:\>python get-pip.py
c:\>pip install virtualenv
2: Clone horizon repository
git clone https://github.com/openstack/horizon
3:Install a Virtual env for horizon
c:\horizon>virtualenv .venv4: Activate by ./vevn/secirpt/activate
c:\horizon>.venv\Scripts\activate
5: Install the requirements lib
pip install -r requirement.txt test-requirement.txt6:Direct the test to devstack
modify openstack_dashboard/test/integration_tests/horizon.conf to point the remote devstack
dashboard_url=http://15.126.211.193/
login_url=http://15.126.211.193/auth/login/
No comments:
Post a Comment