Skip to content

Commit 374586f

Browse files
Update README.md
1 parent 37abdeb commit 374586f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
This application is used for managing image gallery folders and files if is needed in anyplace on a server if the permissions are set to read on them.
22

3-
It is build on Django and some vue elements on the ui side.
3+
It is build on Django and some vue elements on the ui side. Set a python environment and clone this project there.
44

5+
To set the path of the gallery change the code in class "LoadFiles" located in:
6+
7+
https://github.com/LunguGeorgeProgramator/python_gallery_manager/blob/master/gallery/loadFiles.py
8+
9+
Code to change is the path, I build this on a windows OS so my this is my pictures path on my computer. Change it to any paht on your machine that has a directories with photos files in them:
10+
11+
PATH = "c:/Users/George/Pictures"
12+
13+
The number of folder per page is set no by default to 100, it can be change to any number in class "Pagination" located in:
14+
15+
https://github.com/LunguGeorgeProgramator/python_gallery_manager/blob/master/gallery/pagination.py
16+
17+
Change code form 100 to any number nedded:
18+
19+
MAX_ON_PAGE = 100

0 commit comments

Comments
 (0)