irongit

builds from sh file

huncholanehuncholaneauthored
parent edb8cdbcommit f1622a6307c7d41bee247d9a60ecc81a388b6d72Browse files

2 files changed, +15 -5

+3-1.gitignore
@@ -1 +1,3 @@
1-db
1+db
2+frontend
3+backend
+12-4init.sh
@@ -1,5 +1,13 @@
1-django-admin startprojectbackend
2-cp init_files/backend/* backend
1+echo "Installing django..."
2+pip install django
3+echo "Creating the django backend..."
4+python3 -m django startproject backend
5+echo "Copying initial files into backend..."
6+cp init_files/backend/* backend/
37
4-npx create-react-app
5-cp init_files/frontend/* frontend
8+echo "Creating the react frontend..."
9+npx create-react-app frontend
10+echo "Copying initial files into frontend..."
11+cp init_files/frontend/* frontend/
12+
13+echo "Done."