- Understand the tools used in the project
- Make a build plan
- Set up development environment
- Create a basic shop website using django-oscar and react
- Integrate Stripe into the project
- Conduct testing
- Make documentation
- Publish the project on github
-
clone this repository:
-
cd to stripe-integration folder
cd Stripe_integration
-
create virtual environment:
python -m venv venv
venv\Scripts\activate
or
venv\Scripts\activate.bat
-
install python dependencies:
pip install -r requirements.txt
-
run migrations:
python backend\manage.py migrate
-
load test data into backend:
python backend\manage.py oscar_import_catalogue backend\fixtures\books.hacking.csv
python backend\manage.py oscar_populate_countries
-
run django:
python backend\manage.py runserver
-
cd to frontend folder
cd frontend
-
install npm requirenments
npm i
-
run vite
npm run dev

