This codebase encompasses the development of a Django web application hosted on the IBM Cloud, titled "dealerTrack-insights."
The objective is to construct a web application enabling users to choose one of Best Car's dealerships (a fictional company) in the US to view reviews of the dealership's cars submitted by other users and submit their own reviews. The website also includes basic features like a navigation bar, "about," and "contact" pages. The project mandates the use of the Python-Django full stack web development framework and deployment with Red Hat Openshift/Kubernetes on the IBM Cloud.
Dealer and review data reside in an IBM Cloudant database, while user and car data are stored in a simple SQLite database. To access Cloudant data, three IBM Cloud Functions were created, accessible through an API. IBM Watson analyzes each review to determine its general sentiment (negative, neutral, positive).
-
Clone the project:
cd dealerTrack-insights/server
-
Install required Python packages:
python -m pip install -r requirements.txt
-
Run the development server:
python manage.py createmigrations python manage.py migrate python manage.py runserver
- Create a superuser to manage the Django admin interface:
python manage.py createsuperuser
Access the admin interface at http://127.0.0.1:8000/admin/ and log in with the superuser credentials.
- Fork the repository.
- Create a new branch for your feature: git checkout -b feature-name.
- Commit your changes: git commit -m 'Add new feature'.
- Push the branch to your fork: git push origin feature-name.
- Create a pull request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.