diff --git a/First time setup.cmd b/First time setup.cmd index e9a0af4..f32f7e9 100644 --- a/First time setup.cmd +++ b/First time setup.cmd @@ -23,7 +23,13 @@ echo Waiting for 5 seconds to give the MySQL server time to start before importi echo: timeout 5 Windows\make import-windows + +cls +echo Extracting client cache +echo: +mkdir %userprofile%/OpenRSC +Windows/PKUNZIP.EXE Game/Open-RSC-Game/client/cache.zip %userprofile%/OpenRSC cls echo First time setup is now complete. Visit http://localhost in your browser to verify. -pause \ No newline at end of file +pause diff --git a/Windows/PKUNZIP.EXE b/Windows/PKUNZIP.EXE new file mode 100755 index 0000000..3efd9f3 Binary files /dev/null and b/Windows/PKUNZIP.EXE differ diff --git a/first-time-setup.sh b/first-time-setup.sh index 528c769..7ec205f 100755 --- a/first-time-setup.sh +++ b/first-time-setup.sh @@ -1,8 +1,10 @@ #!/bin/bash - +clear docker login sudo make stop sudo make start sudo make clone sleep 5 sudo make import +mkdir ~/OpenRSC +unzip Game/Open-RSC-Game/client/cache.zip -d ~/OpenRSC diff --git a/install-docker-linux.sh b/install-docker-linux.sh new file mode 100755 index 0000000..b682395 --- /dev/null +++ b/install-docker-linux.sh @@ -0,0 +1,7 @@ +#!/bin/bash +sudo apt update +sudo apt install apt-transport-https ca-certificates curl software-properties-common -y +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - +sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" +sudo apt update +sudo apt install docker-ce build-essential docker-compose -y diff --git a/pull-updates.sh b/pull-updates.sh old mode 100644 new mode 100755