Skip to content
Snippets Groups Projects
Unverified Commit b385be39 authored by Marius Friess's avatar Marius Friess Committed by GitHub
Browse files

Update init.sh

parent c198ad1f
No related branches found
No related tags found
No related merge requests found
......@@ -2,16 +2,3 @@
cp ./backend/.env.docker.example ./backend/.env
cp ./frontend/.env.example ./frontend/.env
# Erstelle eine neue Zeile in .env
echo >> ./frontend/.env
# Ueberpruefe, ob das Betriebssystem Windows ist
# Falls ja, dann setze CHOKIDAR_USEPOLLING=true
# Falls nein, dann setze CHOKIDAR_USEPOLLING=false
# Setze CHOKIDAR_USEPOLLING in .env in eine neue Zeile
if [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
echo "CHOKIDAR_USEPOLLING=true" >> ./frontend/.env
else
echo "CHOKIDAR_USEPOLLING=false" >> ./frontend/.env
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment