Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 440e2be

Browse files
Update README.md
1 parent 41c95db commit 440e2be

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

‎README.md‎

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To set the path of the gallery change the code in class "LoadFiles" located in:
1919

2020
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:
2121

22-
PATH = "c:/Users/George/Pictures"
22+
PATH = "./tutorial_photos"
2323

2424
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:
2525

@@ -63,5 +63,28 @@ To run this website on docker just follow the list steps:
6363

6464
http://127.0.0.1:8090/ or http://0.0.0.0:8090/ or http://localhost:8090/ or http://your_docker_domenain_set:8090/
6565

66+
67+
This website can be run on a python envirement "you need to set on on your machine also set dejango to". The seteps to run it are:
68+
69+
1. activate python envirement in terminal ("I am using windows"), venv is the name of the folder I set it:
70+
71+
C:\Users\George> venv\Scripts\activate
72+
73+
2. Ender project location:
74+
75+
(venv) C:\Users\George>cd venv/myProjects/python-django-gallery-manager
76+
77+
3. Start python server:
78+
79+
(venv) C:\Users\George\venv\myProjects\python-django-gallery-manager>py manage.py runserver
80+
81+
4. Wait for it to finish last line should be:
82+
83+
Starting development server at http://127.0.0.1:8000/
84+
Quit the server with CTRL-BREAK.
85+
86+
5. Afetr just access in a browser link:
87+
88+
http://127.0.0.1:8000/ or http://0.0.0.0:8000/ or http://localhost:8000/ or http://your_enev_domenain_set:8000/
6689
6790

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /