Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
Description Short description of this repository 350 characters remaining Website https://multi-vendor-gamma.vercel.app/ Topics Add topics Type to search topics Include in the home page Releases Deployments Packages
Saved setup from 12 h ago
Will it work on macOS?
Heads-upIt also needs MySQL.
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: xcode-select --install. The project lives in its multi_vendor/ folder: every step below runs there.
git clone https://github.com/Ibrahim-sys-ux/Multi-Vendor.git cd Multi-Vendor/multi_vendor
Python >=3.12
brew install python@3.13
Needs: MySQL (no compose file — install locally or run via Docker)
python3.13 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
.env to match a remote instance)# Clone the repository
git clone https://github.com/Ibrahim-sys-ux/Multi-Vendor.git
cd Multi-Vendor/multi_vendor
# Create and activate a virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Create the database
# In MySQL: CREATE DATABASE vendor_db;
All secrets and environment-specific values are read from a .env file (already excluded via .gitignore — never commit this file). Create one in the project root with:
DJANGO_SECRET_KEY=<generate one, see below>
DJANGO_DEBUG=True
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
DB_NAME=vendor_db
DB_HOST=127.0.0.1
DB_USER=root
DB_PASSWORD=<your MySQL password>
DB_PORT=3306
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD_HASH=<generate with make_password(), see below>
Generate a fresh Django secret key:
python manage.py shell -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"
Generate the admin password hash:
python manage.py shell -c "from django.contrib.auth.hashers import make_password; print(make_password('your-real-admin-password'))"
# Apply migrations
python manage.py migrate
# Create an admin/staff user if needed
python manage.py createsuperuser
# Run the development server
python manage.py runserver
The app will be available at http://127.0.0.1:8000/.
If you have accounts created before password hashing was added, run the one-off migration command to hash any remaining plaintext passwords:
python manage.py hash_existing_passwords
Back up your database before running this. It's safe to run more than once — already-hashed passwords are left untouched.
The site admin dashboard (separate from Django's own /admin/) is accessed via the regular login form, using the ADMIN_EMAIL / ADMIN_PASSWORD_HASH values set in your .env.
No reports for macOS yet.
GitManual AI Agent reads the 2 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.