irongit
reactxdjango/init.sh
13 lines365 BBourne Again Shell (bash)
1echo "Installing django..."
2pip install django
3echo "Creating the django backend..."
4python3 -m django startproject backend
5echo "Copying initial files into backend..."
6cp init_files/backend/* backend/
7
8echo "Creating the react frontend..."
9npx create-react-app frontend
10echo "Copying initial files into frontend..."
11cp init_files/frontend/* frontend/
12
13echo "Done."