Skip to content

Commit

Permalink
Fix makefile to run server locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreezag authored Aug 18, 2024
1 parent e6bd036 commit 114fa68
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

build:
if [ ! -d "runtime" ]; then \
mkdir runtime/configs -p; \
chmod 0777 -R runtime; \
mkdir -p runtime/configs; \
chmod 777 -R runtime; \
fi
chmod +x bin/get-binaries.sh; \
if [ ! -f "bin/centrifugo" ]; then \
cd bin; \
./get-binaries.sh; \
cd ../; \
fi
if [ ! -f "rr" ]; then \
vendor/bin/rr get;\
fi
if [ ! -d "vendor" ]; then \
composer i --ignore-platform-reqs; \
fi
if [ ! -f "rr" ]; then \
vendor/bin/rr get;\
fi
if [ ! -d ".db" ]; then \
mkdir .db; \
chmod 0777 -R .db; \
Expand Down

0 comments on commit 114fa68

Please # to comment.