From 9e0ef551433ede4e2c62fdb3821adc7704fb869d Mon Sep 17 00:00:00 2001 From: James Wild Date: Sun, 24 Nov 2024 17:19:21 +0000 Subject: [PATCH] Rename some things --- Makefile | 9 ++++++--- todoqueue_backend/{.env => .env.example} | 0 2 files changed, 6 insertions(+), 3 deletions(-) rename todoqueue_backend/{.env => .env.example} (100%) diff --git a/Makefile b/Makefile index f4ca743..aa7409d 100644 --- a/Makefile +++ b/Makefile @@ -7,14 +7,17 @@ install: # Install frontend dependencies cd todoqueue_frontend && npm install -dev: - ./run_dev.sh +dev-frontend: + cd todoqueue_frontend && npm start + +dev-backend: + cd todoqueue_backend && python3 manage.py runserver build: # Build the React frontend cd todoqueue_frontend && npm run build # Collect static files for Django - cd todoqueue_backend && python manage.py collectstatic --noinput + cd todoqueue_backend && python3 manage.py collectstatic --noinput # Build the Docker image docker build -t todoqueue:latest . diff --git a/todoqueue_backend/.env b/todoqueue_backend/.env.example similarity index 100% rename from todoqueue_backend/.env rename to todoqueue_backend/.env.example