Skip to content

idanwekhai/Django_React_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React_Django_Boilerplate Code

Boiler plate code to use React and Django together without much configuration.

Installing

After cloning the repo.

$ cd react_django_boilerplate
$ docker-compose build

Running the App

$ docker-compose up

Or if you've yet to build the docker images:

$ docker-compose up --build

Running in production

First build the static files.

$ yarn build

Run the server with production settings.

$ python manage.py runserver --settings=production_settings

Note

You may need to install babel-loader

$ yarn add babel-loader --dev

You might also need to run collect static for you server to see you static files

$ python manage.py collectstatic

About

Boiler-Plate code to Use Django with React

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published