Xitmer Documentation
Casting
Sometimes you may feel the need to share your local running web application (or a xit service as we call them in Xitmer context) with others. For those scenarios you can use the casting feature to easily share a URL that will be tunneling to your local running xit service. To cast a local running xit service a command as below need to be used:
xit cast service_name
For example, if you have a service named my_local_app running on your local development system you can issue the command xit cast my_local_app
. Xitmer will automatically get its development URL from the dev_url attribute if defined in the service definition file or its default development url (the app name followed by .xit) and cast it through Xitmer.
When the casting is successful and in progress the status will be avaialble in a new terminal window. The publicly accessible URL (usually with the xit.cx domain) will also be opened in the browser. This URL can be shared with others to be able to view your local running xit service.
Note: The casting feature uses localtunnel library underneath, details about it can be found at the localtunnel GitHub page.