Move all data files to one location #302
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi
I've just found your project and liked it a lot. I need to put a small blog up and running, and this project meets almost my requirements, good work!
I'll be making some changes to ease deployment and make it work for me. I'll be contributing some of them if you're ok with it.
I've noticed that user uploaded files are stored under www/data, while the SQLite database file is on the application's root.
I think having all data files together would ease deployment, backups, and mounting volumes with docker.
I moved the database file and the upload folder to a new directory called Data and used redirection to publish the files without reconfiguring paths on the interface. There should not be any noticeable difference other than the directory structure.
I think you will find it ok. Please, tell me if you need some changes. I have some other pull requests to send if you agree.