Network coding for automated distributed storage system: adar
This is my BAdvSci(Hons) research project
Please see DEFINITIONS.md and/or SPEC.md for further details and descriptions
Please see SPEC.md
| For Windows | For Unix (GNU+Linux, macOS) |
|---|---|
| Windows Projected File System | Filsystem in Userspace (FUSE) as required by fusepy |
~ $ git clone https://github.com/theonlytechnohead/adar.git~ $ cd adar/python/simple_nc-main
~/adar/python/simple_nc-main $ pip install .~ $ cd adar/python
~/adar/python $ pip install -r requirements.txt| For Windows systems | For Unix systems (GNU+Linux, macOS) |
|---|---|
enable Windows Projected File System in Turn Windows features on or off |
ensure that FUSE is working, e.g. with the libfuse library |
Alternatively for Windows, in an elevated Powershell prompt (Run as Administrator):
PS > Enable-WindowsOptionalFeature -Online -FeatureName Client-ProjFS -NoRestart~ $ cd adar/python
~/adar/python $ python3 main.pyThe mount directory will present itself for file storage
You can run adar on additional computers to pair and connect to them, which will allow the storage to be distributed
Follow the steps above for running from source, verify all is working as expected.
pip install pyinstaller~ $ cd adar
~/adar $ pyinstaller --onefile python/main.pyThe build output will be located in ~/adar/dist