Using slate on a headless server
Problem
I'm trying to move my dev work from themekit to slate. I have a VPS I'd like to use instead of localhost. How do I configure slate to proxy from my server's IP or hostname instead of localhost so I can preview changes? On localhost I assume it's proxying localhost:8080 so I'm guessing it's a setting I can change? Going to https://SERVERIP:8080 just gives me a "Cannot GET /" message.
Replication steps
Start a new theme on a headless server. On yarn start it goes through successfully but doesn't give any warning or instructions about not being able to open a browser
More Information
Server has a subdomain with SSL.
@linuxbastard it sounds like you're pioneering this implementation of Slate more than we have. Afraid I can't be of much help.
The server that runs on localhost:8080 is only intended to be used for development and should not be used to deploy a theme for production. For that, you should be using slate-tools deploy, in which case you don't have a localhost server to worry about.
Hiyah @t-kelly,
Not really doing anything radical. Just wanted to move the preview out of my station and had the server, so decided to ask. I actually tried to change slate tools config from domain https://localhost to my server's domain, but no joy. There's some routing involved that I haven't found yet.
yarn start, yarn watch, yarn deploy works, but can't get instant preview changes the same way if I'm running slate on my workstation.