Ansible scripts for setting up local/remote environment for running RuneLite API
Requirements:
python
- Python installation guidedocker
- Docker installation guidedocker
python library -pip install docker
for Python 3 orpip install docker-py
for Python 2ansible
-pip install ansible
yq
-pip install yq
- optional, used only fordump.sh
Usage:
ansible-playbook playbook.yml
Usage with Vagrant:
vagrant up
To dump MySQL tables (needs to be done after http-service is deployed):
./dump.sh --no-data
After you have everything running, you need to set these JVM params for http-service
:
-Drunelite.http-service.url=http://localhost:8080
-Drunelite.ws.url=http://localhost:8081
-Dspring.profiles.active=dev
and these for runelite-client
:
-Drunelite.http-service.url=http://localhost:8080
-Drunelite.ws.url=http://localhost:8081
You can set the JVM params after you press Run -> Edit Configurations... like this: