SimpleFileRepository/README.md

37 lines
792 B
Markdown
Raw 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-08 21:33:54 +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
```