/Photo-Share

PhotoShare is a photo-sharing website where registered users can share 'Photos' and view a listing of other users' shared photos. It is built primarily on Python(Django)

Primary LanguagePython

Star Badge Open Source Love

Script Title & Description

PHOTOSHARE

PhotoShare is a photo-sharing website where registered users can share 'Photos' and view a listing of other users' shared photos. It is built primarily on Python(Django)

The Shoppies Preview

⚙️ Languages or Frameworks Used

  • PYTHON (Django)
  • CSS (Twitter Bootstrap)
  • HTML

🛠️ Features

  • Users can register for an account.
  • Users can log in into an existing account.
  • Users can reset their password to an existing account
  • Users can share a photo and add captions.
  • Users can update an already shared photo or its captions.
  • Users can delete a Photo.
  • Users can like a photo.

🌟 How to run

Visit Twitter Developer Account Website and click on Create app to create a Twitter Devlopment Account for a Bearer Token

  1. Save the script in the local machine.

  2. Open a terminal/command prompt and change directory location to the folder where your script is located and run the below commands

    1. Create a virtual enviroment to install required package

      python3 -m venv .venv /path/to/new/virtual/environment
    2. Activate virtual enviroment for for your OS On Windows, run:

      python3 -m venv .venv /path/to/new/virtual/environment
    3. To install required packages run the below command On Unix or MacOS, run:

      pip install -r requirements.txt
    4. To setup database migrations

      'cd' into the photoshare directory 
      python manage.py makemigrations
    5. To execute migration

      python manage.py migrate
    6. To execute the script run the following command

      python3 manage.py runserver --settings=settings.local

    After successful execution of the script you should see the 'URL localhost link to the website' outputed in command prompt/terminal

📺 Demo

![demo]

🤖 Author

Israel Akinola