Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

codewithmuh/React-Django-project

Repository files navigation

python-django-react-sample-app

Sample BigCommerce App using Python, Django, and React

How to run it in Local machine ?

Open terminal frst. You have to follow these points

1.Download anaconda

https://www.anaconda.com/products/individual

  1. Open terminal.

3.create a virtual environment with python 3.8 using this commond "conda create --name py38 python=3.8"

4.Then activate virtua environment using this commond "conda activate py38"

5.Then run this commond "pip install -r requirements.txt"

6.Then run this commond to run project in local machine "python manage.py runserver 8054"

FOr Ngrok : In .env file use http instead of https for callBackURL for ngrok.


Steps to follow to install the app on BigCommercestore.

We will highly recommend watching video during installation app on the store. Here is installation video https://youtu.be/FKf5pOBC3z0

1.Open Url https://login.bigcommerce.com/

2.login your account

3.from side menue go to Advance Setting > API Accounts

4.Click Create API Account then Create V2/V3 API Token

5.Fill Name of API

6.Select All Higer level Permissions

7.Open Url https://devtools.bigcommerce.com/my/apps

8.Create an App

9.Click View Client ID and Note down Client ID Client Secret

10.Open URL https://dashboard.heroku.com/apps

11.Create a new App

12.Select Deployment Method Github

13.Enable Automatic Deployment

14.go to setting tab

15.Click Reveal Config Variable and Add following Variables

appClientId = elfctt4r8cai3u6cw4yg70lamxroke8

appClientSecret = ee074094318cdbd56bba82dd7e1ba9df2f5794b51fdeb27c0e8ac0f88a95f904

16.callBackURL = https://inventroman.herokuapp.com/cb/auth

17.DISABLE_COLLECTSTATIC=1

18.DEBUG_COLLECTSTATIC = 1

19.From Deploy Tab Click Deploy Branch

20.Open Url https://devtools.bigcommerce.com/my/apps

21.Click Edit App and Go to Technical Tab of APP and Fill the following fields

22.Auth Callback URL (add /auth at the end of heroku app url)

23.Load Callback URL

24.Uninstall Callback URL

25.Click Update

26.Go to URl Open Url https://login.bigcommerce.com/

27.from side Menue Apps > My Apps

Note: To run React at development run "yarn run" and to compile Reactjs code run "yarn build" at root level folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /