Scripts, cache extract

This commit is contained in:
Marwolf
2018-07-11 09:04:02 -04:00
parent 9ab165790c
commit e4031bcb97
5 changed files with 17 additions and 2 deletions

View File

@@ -23,7 +23,13 @@ echo Waiting for 5 seconds to give the MySQL server time to start before importi
echo Waiting for 5 seconds to give the MySQL server time to start before importing the databases.
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.
echo First time setup is now complete. Visit http://localhost in your browser to verify.

BIN
Windows/PKUNZIP.EXE Executable file

Binary file not shown.

View File

@@ -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

7
install-docker-linux.sh Executable file
View File

@@ -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

0
pull-updates.sh Normal file → Executable file
View File