Skip to content

A dockerised website made to learn how to integrate React and Django.

Notifications You must be signed in to change notification settings

praptisharma28/TODO_DjangoReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Django & React Notes App

Cloning the Repository

Clone the repository using the command below:

git clone https://github.com/praptisharma28/TODO_DjangoReact

Move into the directory where we have the project files:

cd TODO_DjangoReact\Django-React-NotesApp>

Create a virtual environment:

  • If you are on Windows:
virtualenv env
  • If you are on Linux or Mac:
python -m venv env

Activate the virtual environment:

  • If you are on Windows:
.\env\Scripts\activate
  • If you are on Linux or Mac:
source env/bin/activate

Running the App

To run the Notes App, use the following command:

python manage.py runserver

⚠ Then, the development server will be started at http://127.0.0.1:8000/

Instruction for running with docker

create a .env file based up on the .env.example

docker volume create staticfiles
docker compose up