https://shivprojects.pythonanywhere.com/image-gallery/
GitHub Repo link
https://github.com/the-brainiac/image-repo
Admin
User
Image
Catagory
CRUD --
Creation Retrieval Updation Deletion
Install latest version of python from https://www.python.org/downloads/
Open your terminal (or powershell if you are using windows operating system.) then to clone this repo use this command -
git clone https://github.com/the-brainiac/image-repo.git
or download as zip file then extract it.
install virtual enviornment
py -m pip install --user virtualenv #installing virtual enviornment
py -m venv env #creating new virtual enviornment
.\env\Scripts\activate #to activate the enviornment
Install all required libraries and modules.
pip install -r requirements.txt
move to the directory where manage.py
file is saved (use cd
command to change directory) and make migrations to database.
python manage.py makemigrations
python manage.py migrate
Run Local server
python manage.py runserver
Now open your browser and enter the url http://127.0.0.1:8000/ or http://localhost:8000/ in your browser and enjoy the app.
If your find any problem in running the app then contact me at shiv71290@gmail.com