A simple Django photo gallery app
-
Unzip the file to a directory, let's call it /directory/
-
Open a console or a command line and type:
-
cd /directory/photo_gallery-master (change directory into the project's root)
-
$ python manage.py migrate (create your sqlite database schema)
-
$ python manage.py createsuperuser (create a user for the admin site)
-
$ python manage.py runserver 8090 (run the server on localhost:8090)
-
Visit http:\localhost:8090\gallery to view the gallery
-
Visit http:\localhost:8090\admin to add photos