HewlettPackard / oneview-redfish-toolkit

HPE OneView Redfish Toolkit provides a REST service to answer DMTF's Redfish compliant requests by querying HPE OneView
Apache License 2.0
18 stars 21 forks source link

Add instruction about how to install Toolkit offline #503

Closed sidneifranco closed 5 years ago

sidneifranco commented 5 years ago

The offline installation of the toolkit could be made with some simple steps, assuming the server already has installed python and pip.

Steps to download all dependencies (In a machine with internet connection): 1) Inside some folder to be ziped after, run "pip download oneview-redfish-toolkit". This command will download the oneview-redfish-toolkit and its all dependencies. With this files the installation can be made offline. 2) Zip the folder and send to the server.

Steps to install dependencies offline in the server: 1) Unzip the folder with all dependencies 2) Run "pip install dependencies_folder/*" After this command, the toolkit is installed.

Also, for each time that we publish the package on pypi, we will need to publish a zip file with the installed and dependencies on https://github.com/HewlettPackard/oneview-redfish-toolkit/releases