Skip to content

This serves as a base for Docker, Django's Rest Framework, and React. By following the instructions, you get a basic project setup, that runs flawlessly on your computer. You can then build your ideas on top of it.

License

Notifications You must be signed in to change notification settings

Chandolkar001/RDD-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a REACT - DRF - DOCKER Boilerplate:

Steps to run this boilerplate on your system.

Clone the repository

git clone https://github.com/Chandolkar001/boilerplate.git

Steps if you have linux-debian based terminal:

simply run :
sh init.sh

This shall complete the setup for your project.. Happy Coding :)

Steps if you are running on CMD or Power shell:

1. pip install virtualenv
2. virtualenv ENV 
3. ENV/scripts/activate 
4. cd app
5. pip install -r requirements.txt
6. cd .. 
7. cd frontend
8. npm i
9. DONE !

Running on Docker.

Steps if you have linux-debian based terminal:

To build and run:

sh dockerinit.sh
To stop:

sh dockerstop.sh

Steps if you are running on CMD or Power shell:

Change directory to the location where docker-compose file is located.

1. docker-compose build
2. docker-compose up -d
To stop:

docker-compose down
Check localhost:3000 for react pages (frontend)
Check localhost:8000 for backend server

About

This serves as a base for Docker, Django's Rest Framework, and React. By following the instructions, you get a basic project setup, that runs flawlessly on your computer. You can then build your ideas on top of it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published