https://github.com/runtime-error786/ecommerce-data_base
https://github.com/runtime-error786/ecommerce-data_base
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/runtime-error786/ecommerce-data_base
- Owner: runtime-error786
- Created: 2023-06-11T10:59:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-31T05:40:47.000Z (almost 2 years ago)
- Last Synced: 2025-02-01T08:22:41.543Z (12 months ago)
- Language: HTML
- Size: 7.49 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DBProject
I've used Oracle 19c for the database as it was the requirement of our project. You'll need to install Oracle 19c on your machine before you can run it. Dont't forget to modify the DATABASES dictionary (username, password etc) declared in the settings.py file accordingly. The SQL code to create the schema and other database stuff is in extras>inventory.sql Make sure to run the SQL code from the inventory.sql file before you run the project.
Setup:
git clone https://github.com/your-username/folder_name.git
Install Python: Django is a Python web framework, so you need to have Python installed on your system. You can download and install Python from the official Python website. Make sure to install Python 3.x as Django is compatible with Python 3.
Install Django: Once you have Python installed, you can install Django using pip, Python's package manager. Open a terminal or command prompt and run the following command:
pip install django
Create a Django Project: After installing Django, you can create a new Django project using the django-admin command-line tool. Navigate to the directory where you want to create your project and run:
django-admin startproject projectname
django-admin startproject projectname
eplace projectname with the name of your project.
Create a Django App: Inside your Django project, you can create one or more apps. Apps are components of your project that handle specific functionality. Navigate into your project directory and run:
python manage.py startapp appname
Replace appname with the name of your app.
Configure Settings: Django settings are located in the settings.py file within your project directory. Configure database settings, static files, templates, middleware, etc., as needed for your project.
Run Migrations: Django uses migrations to manage database schema changes. Run the following command to apply migrations and create database tables:






