Windows: WSL
Follow these steps to setup Runops proxy mode on Windows using
WSL:
- Download and Install nodejs
- Install Runops CLI:
plain textnpm install -g runops
- Login to Runops
plain textrunops login
- Install WSL
plain textwsl --install -d Ubuntu
- Search WSL in the start menu and open it
- Inside the WSL shell, download and install the proxy application:
plain textwget -c https://github.com/runopsio/rproxy/releases/download/0.2.0/rproxy_0.2.0_Linux_x86_64.tar.gz -O - | tar -xz chmod +x rproxy
- Now start the proxy
plain textcp /mnt/c/.runops/config $HOME/.runops/ ./rproxy postgres -c <YOUR DATABASE NAME HERE>
- Open your database client and create a connection with the data:
- Hostname:
127.0.0.1
- Username: runops
- Password: runops
- Port:
5433
Repeat steps 3 and 7 to restart your connection. For security reasons
Runops asks you to login again every few hours. Repeating these steps
reestablishes your connection.