(Optional) First of Install Virtual Env
(Optional) Creating Virtual Env-
python -m venv vcommerce
Command to Activate the Virtual env-
For Linux Environment & Git Bash on Window
. vcommerce/Scripts/activate
(my virtual env name- vcommerce)
For Windows-
vcommerce\Scripts\activate
For Mac-
. vcommerce/bin/activate
or vcommerce myvenv/bin/activate
pip install django
pip install stripe
pip install pillow
To Run django Server- python manage.py runserver
To Run the django Interactive interpreter (shell)- python manage.py shell
Any changes to db/models, run following code
python manage.py makemigrations
python manage.py migrate
Any changes to static files, we need to collect static files (as result your new files will be added to static_cdn folder)
python manage.py collectstatic
To Know the work flow and progress, follow the branch in series
- Master- In Starting implement basic model. (All the work will be merged to this branch)
- Search_bar- Implemented Search_bar, include tags to the product.
- Cart- Implemented Cart feature for authenticated as well unauthenticated people.
- Checkout- Implemented Checking out process of each Order per User.
- Address- Implementing Address section of the user.
- AutoSearch- Implementing Auto Search to the search bar.
- CustomUserModel- Building out the custom user model instead of using built-in django model.