mirror of
https://github.com/workhardbekind/workout-challenge.git
synced 2026-07-04 09:23:32 -04:00
first commit
This commit is contained in:
commit
e7f627801f
152 changed files with 35352 additions and 0 deletions
12
scripts/launch_react.sh
Normal file
12
scripts/launch_react.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Working dir is "src-frontend"
|
||||
|
||||
if [ $DEBUG == "true" ] || [ $DEBUG == "True" ]; then
|
||||
echo "Run React Dev-Server";
|
||||
npm start;
|
||||
else
|
||||
echo "Run React Prod-Server";
|
||||
npm run build;
|
||||
serve -s build -l 3000;
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue