mirror of
https://github.com/Clortox/SimpleFileRepository.git
synced 2026-03-03 00:33:46 +00:00
Add update_dir to makefile
This commit is contained in:
3
Makefile
3
Makefile
@@ -8,6 +8,9 @@ INSTALL_PATH = /var/www/html/
|
||||
update_config : var/config.php
|
||||
cp var/config.php $(INSTALL_PATH)/var/config.php
|
||||
|
||||
update_dir :
|
||||
cp -r dir $(INSTALL_PATH)
|
||||
|
||||
install: var/config.php
|
||||
@echo "Installing to $(INSTALL_PATH)"
|
||||
@echo "Everything there will be deleted"
|
||||
|
||||
@@ -29,8 +29,13 @@ 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
|
||||
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:
|
||||
|
||||
```bash
|
||||
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:
|
||||
```bash
|
||||
make update_dir
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user