Windows setup, fixes
This commit is contained in:
10
Makefile
10
Makefile
@@ -13,22 +13,20 @@ restart: init
|
||||
|
||||
clone-game:
|
||||
@$(shell git clone https://github.com/Open-RSC/Game.git)
|
||||
#@$(&& sudo chmod -R 777 Game)
|
||||
|
||||
clone-website:
|
||||
@$(shell git clone https://github.com/Open-RSC/Website.git)
|
||||
#@$(shell sudo chmod -R 777 Website && sudo chmod 644 Website/board/config.php)
|
||||
|
||||
clone-wiki:
|
||||
@$(shell cd Website && git clone https://github.com/Open-RSC/Wiki.git)
|
||||
|
||||
clone-windows-website:
|
||||
@git clone https://github.com/Open-RSC/Website.git
|
||||
#icacls Website /grant Everyone:F /t
|
||||
cacls Website /grant Everyone:F /t
|
||||
|
||||
clone-windows-game:
|
||||
@git clone https://github.com/Open-RSC/Game.git
|
||||
#icacls Game /grant Everyone:F /t
|
||||
cacls Game /grant Everyone:F /t
|
||||
|
||||
clone-windows-wiki:
|
||||
@git clone https://github.com/Open-RSC/Wiki.git Website/Wiki
|
||||
@@ -68,10 +66,12 @@ import:
|
||||
import-wiki:
|
||||
@docker exec -i $(shell docker-compose ps -q mysqldb) mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < Website/Wiki/openrsc_wiki.sql 2>/dev/null
|
||||
|
||||
import-windows:
|
||||
import-windows-game:
|
||||
@docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < Game/Databases/openrsc_logs.sql
|
||||
@docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < Game/Databases/openrsc_config.sql
|
||||
@docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < Game/Databases/openrsc.sql
|
||||
|
||||
import-windows-website:
|
||||
@docker exec -i mysql mysql -u"$(MYSQL_ROOT_USER)" -p"$(MYSQL_ROOT_PASSWORD)" < Website/openrsc_forum.sql
|
||||
|
||||
import-windows-wiki:
|
||||
|
||||
Reference in New Issue
Block a user