Installation#
PyPi (recommended)#
The Python package is hosted on the Python Package Index (PyPI).
The latest published version of HiveNAS can be installed using
$ pip install hivenas
To upgrade to the latest published version, use
$ pip install --upgrade hivenas
The frameworkâs dependencies are all in the standard requirements.txt, which can be installed using
$ pip install -r requirements.txt
in the installed package directory.
Manual Installation#
Simply clone the entire repo and extract the files in the src folder, then import them into your project folder.
Or use one of the shorthand methods below:
GIT#
cdinto your project directoryUse
sparse-checkoutto pull the source files only into your project directory
1$ git init HiveNAS
2$ cd HiveNAs
3$ git remote add -f origin https://github.com/ThunderStruct/HiveNAS.git
4$ git config core.sparseCheckout true
5$ echo "src/*" >> .git/info/sparse-checkout
6$ git pull --depth=1 origin master
Import the newly pulled files into your project folder
SVN#
cdinto your project directorycheckoutthe source files:$ svn checkout https://github.com/ThunderStruct/HiveNAS/trunk/src
Import the newly checked out files into your project folder