- Software Installation:
- Accounts Required:
git clone https://github.com/rishank-shah/django-ecommerce.git
cd django-ecommerce
cp .env.example .env
pip install virtualenv
virtualenv venv
Fill the .env file with the correct database, cloudinary, email, sentry credentials, elasticsearch and redis url.
source venv/bin/activate
pip install -r requirements.txt
source venv/bin/activate
source .env
python manage.py migrate
python manage.py createsuperuser
source venv/bin/activate
source .env
python manage.py runserver
For running celery open another terminal navigate to django-ecommerce
folder and execute the following commands
source venv/bin/activate
source .env
celery -A ecommerce_project worker -l info
If you are facing an error while saving products in admin, navigate to django-ecommerce
folder and execute the following commands
source venv/bin/activate
source .env
python manage.py search_index --rebuild
source venv/bin/activate
source .env
python manage.py loaddata load_product_data.json