mirror of
https://github.com/Clortox/SimpleFileRepository.git
synced 2025-01-08 01:47:59 +00:00
A simple file repository and link tree, ideal for a raspberry pi NAS
dir | ||
helpers | ||
resources | ||
var | ||
www | ||
.gitignore | ||
hiddenlisting.php | ||
index.php | ||
LICENSE | ||
listing.php | ||
Makefile | ||
README.md | ||
TODO |
Simple Repository
My simple php file repository/link tree that I wrote for my personal NAS.
Requirements
To run this you will need:
apache2 php make
How to use
All setup can be done with make. It is recomended you first edit the config file. Above each section is an explanation of how to use it. To create a new config file, run:
make new_config
The config file can then be found at var/config.php
After you are done setting up your configuration file, run:
make install
This will install the website and should now be accessible. If at any time you wish to update the config file, edit the config file in this folder, then run:
make update_config
If you would like to update the dir folder with new symlinks that you have added, you can do so automatically by running:
make update_dir