This is a Django-based web application for managing auctions. Users can create, bid on, and comment on auction listings.
-
Clone the repository:
git clone https://github.com/amirn003/commerce-harvardx-project2.git cd commerce
-
Install dependencies:
pip install -r requirements.txt
-
Apply migrations:
python3 manage.py migrate
-
Run the development server:
python3 manage.py runserver
The ASGI configuration is located in commerce/asgi.py
.
The WSGI configuration is located in commerce/wsgi.py
.
The URL configuration is located in commerce/urls.py
.
The settings for the project are located in commerce/settings.py
.
- Access the admin interface at
/admin/
. - The main auction functionalities are available at the root URL (
/
).
This project is configured to be deployed on Heroku. Ensure you have the Heroku CLI installed and follow these steps:
-
Login to Heroku:
heroku login
-
Create a new Heroku app:
heroku create
-
Deploy the app:
git push heroku main
-
Run migrations on Heroku:
heroku run python3 manage.py migrate