-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2559653
commit b2a67f8
Showing
3 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Django-Ecommerce | ||
|
||
Ecommerce website built with Django 2.2.3, Python 3.7.3, and AWS | ||
|
||
 | ||
|
||
`Product Slide` | ||
|
||
 | ||
|
||
`Shop Page` | ||
 | ||
|
||
`Product Detail Page` | ||
 | ||
|
||
`Cart Page` | ||
 | ||
|
||
`BillingAddress Page` | ||
 | ||
|
||
`Stripe Payment Page` | ||
 | ||
|
||
`Order Success Page` | ||
 | ||
|
||
|
||
|
||
|
||
# Installation | ||
|
||
`git clone https://github.com/zinmyoswe/Django-Ecommerce.git` | ||
|
||
`cd Django-Ecommerce` | ||
|
||
`pip install virtualenv` | ||
|
||
`virtualenv env` | ||
|
||
# For Mac/ Linux | ||
|
||
`source env/bin/activate` | ||
|
||
# For Window | ||
|
||
`env\Scripts\activate` | ||
|
||
`pip install -r requirements.txt` | ||
|
||
Install below version in terminal and 'New Version will face version conflict error' | ||
|
||
```python | ||
|
||
pip install Django==2.2.4 | ||
python -m pip install django-allauth==0.40.0 | ||
pip install django-crispy-forms==1.7.2 | ||
pip install django-countries==5.5 | ||
pip install stripe==2.37.1 | ||
pip install Pillow | ||
|
||
``` | ||
|
||
`python manage.py makemigrations` | ||
|
||
`python manage.py migrate` | ||
|
||
`python manage.py runserver` | ||
|
||
# For Admin Login | ||
|
||
```python | ||
python manage.py createsuperuser | ||
Username : admin | ||
Password : 12345678 | ||
``` | ||
# Demo | ||
|
||
http://djangoecommerce.pythonanywhere.com | ||
|
||
# HTML Template | ||
|
||
https://colorlib.com/etc/fashe/index.html | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
|
||
if __name__ == '__main__': | ||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'demo.settings') | ||
try: | ||
from django.core.management import execute_from_command_line | ||
except ImportError as exc: | ||
raise ImportError( | ||
"Couldn't import Django. Are you sure it's installed and " | ||
"available on your PYTHONPATH environment variable? Did you " | ||
"forget to activate a virtual environment?" | ||
) from exc | ||
execute_from_command_line(sys.argv) |