Skip to content

C0DE-SLAYER/photo_gallery_flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

A simple Content Management System(CMS) for adding, deleting, editing photo in a gallery using flask

About Flask

  • Flask is a lightweight and flexible web framework for Python.
  • It follows the WSGI standard and is compatible with various web servers.
  • Flask's modular design allows for easy integration of extensions to enhance functionality.

Installation

git clone https://github.com/C0DE-SLAYER/photo_gallery_flask
cd photo_gallery_flask
pip install -r requirement.txt
python run.py

Usage/Examples

  1. Open a terminal and type for linux/mac export FLASK_APP=photo_gallery_flask and for windows type set FLASK_APP=photo_gallery_flask
  2. Then type flask shell and type db.create_all() to create the db file use for the project
  3. Now to create the login detail run the following command in flask shellshow in the images demo_1
  4. Once you have install all the requirement using pip and create the db. Run the app using python run.py
  5. Now Head to your browser and type http://127.0.0.1:5000/ and http://127.0.0.1:5000/login head to login page and enter your username and password set in step 3.
  6. Demo/Example : demo_1 demo_2 demo_3 demo_3

License

MIT