Blogifier icon indicating copy to clipboard operation
Blogifier copied to clipboard

Move all data files to one location

Open marcoregueira opened this issue 3 years ago • 0 comments

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.

marcoregueira avatar Oct 28 '21 23:10 marcoregueira