TODO_DjangoReact
TODO_DjangoReact copied to clipboard
A dockerised website made to learn how to integrate React and Django.
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