SimpleFileRepository/README.md

42 lines
949 B
Markdown
Raw Permalink Normal View History

2021-01-04 20:22:48 +00:00
Simple Repository
=================
My simple php file repository/link tree that I wrote for my personal NAS.
2021-03-08 21:33:54 +00:00
Requirements
------------
To run this you will need:
apache2
php
make
2021-01-04 20:22:48 +00:00
How to use
----------
2021-03-08 21:33:54 +00:00
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:
```bash
make new_config
```
The config file can then be found at [var/config.php](var/config.php)
After you are done setting up your configuration file, run:
2021-01-04 20:22:48 +00:00
2021-03-08 21:33:54 +00:00
```bash
make install
```
2021-02-08 20:31:49 +00:00
2021-03-09 03:13:24 +00:00
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:
2021-01-04 20:22:48 +00:00
2021-03-08 21:33:54 +00:00
```bash
make update_config
```
2021-03-09 03:13:24 +00:00
If you would like to update the dir folder with new symlinks that you have added, you can do so automatically by running:
```bash
make update_dir
```