Skip to content

cloudinary-devs/django_photo_collection_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create a Versatile Photo Collection App with Django

Setup Instructions

Prerequisites

  • Python 3.8+
  • Django 3.1+
  • Cloudinary account

Installation

  1. Fork and clone the repository:
git clone https://github.com/yourusername/lookbook.git
cd lookbook
  1. Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install the required packages:
pip install -r requirements.txt
  1. Configure Cloudinary:

    1. Sign up at Cloudinary

    2. Create a .env file in the project root and add the following.

    3. Update the .env file with your Cloudinary credentials:

      1. Copy the API environment variable format from the API Keys page and paste it into your .env file.
      2. Replace <your_api_key> and <your_api_secret> with your actual values, while your cloud name is already correctly included in the format.
      3. Add the following code in your settings.py file:
      from dotenv import load_dotenv
      load_dotenv()
  2. Apply migrations and start the server:

    python manage.py migrate
    python manage.py runserver
  3. Access the application at http://127.0.0.1:8000.

Contributing

  1. Fork the repository.
  2. Create your feature branch (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature).
  5. Open a pull request.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published