Welcome to PicPerfectHub, an online platform dedicated to selling high-quality photographs.
PicPerfectHub is designed to provide users with a seamless experience in discovering, purchasing, and downloading high-quality photographs for various purposes. Whether you're a photographer looking to showcase your work or a customer searching for the perfect image, PicPerfectHub aims to meet your needs.
To get started with PicPerfectHub locally, follow these steps:
- Clone the repository:
git clone https://github.com/Anuj52/Picperfect-Hub.git - Navigate to the project directory:
cd Picperfect-Hub - (Recommended) Create + activate a virtual environment:
- Windows PowerShell:
python -m venv .venvthen.venv\Scripts\Activate.ps1 - macOS/Linux:
python3 -m venv .venvthensource .venv/bin/activate
- Windows PowerShell:
- Install dependencies:
python -m pip install -r requirements.txt - Apply migrations:
python manage.py migrate - (Optional) Create an admin user:
python manage.py createsuperuser - Start the Django server:
python manage.py runserver
When deploying with DEBUG=False, set at least:
DJANGO_SECRET_KEY(required)DJANGO_ALLOWED_HOSTS(comma-separated, e.g.example.com,.vercel.app)DJANGO_DEBUG=0