Skip to content

nitinraturi/django-react-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-react-webpack

Multipage web application using django, react and webpack

Setup

  • CD to the location where manage.py is located.
  • Create a virtual environment using python3: python -m venv venv.
  • Activate virtual environment: source venv/bin/activate
  • Install requirements: pip install -r requirements.txt.
  • CD to frontend directory cd frontend
  • Install node packages: npm install

Run

  • Open first terminal where manage.py is located and run python manage.py runserver, to run django server.
  • Open second terminal inside frontend directory cd frontend
  • For development purpose run npm run watch.
  • For production run: npm run build.

[Optional]: Create the project from scratch

https://tech.raturi.in/multi-page-web-application-using-django-react-and-webpack/

About

Multipage web application using django, react and webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published