TOC
- Use Case
- Install zrok to Your OS
- Create an Account
- See The Initial UI of zrok
- Connect Your Device with Your Account
The Magical Part - zrok Reserve and Share
- Later Runs
- Important Advice
- If you Have Any Questions/Suggestions...
- And If I made a mistake
Use Case
Suppose you're using a web server framework like ! 🌌
(Side note: Check the first 2 paragraphs .
When you're done, executing zrok -h in a are executed via .
https://myzrok.io/settings, where you'll fill in the same credentials - (again ಠ_ಠ)
SAVE, then you'll be presented with this command: zrok enable yOUrPriVaTeToken, store this command carefully in a notepad or something, we'll need it soon.- (again! (╯°□°)╯︵ ┻━┻ )
Side note: You could've also partially done this via terminal, as shown page looking like this:
public zrok instances to share your web server! Let's see how...
Side note: If you click on the 🔽 icon next to your email, then click on Enable your environment, you'll see the command that I told you to store in a notepad :].
Connect Your Device with Your Account
Run the zrok enable yOUrPriVaTeToken command in your terminal to connect your account with your device.
Then, read the entire Enabling Your zrok Environment section from the official docs btw):
Then, execute this command:
zrok reserve public localhost:8000 -n youruniqueinstancename
If you don't change the last argument above, the final frontend URL will appear like this: https://youruniqueinstancename.share.zrok.io, as can be seen here:
with your localhost URL.
To make it actually bind with your localhost, run this final command:
zrok share reserved youruniqueinstancename
Now, if we try to send requests using any online REST client tool, e.g.,
You'll see the terminal returning this output:
Later Runs
In future terminal sessions, it's sufficient to run zrok share reserved youruniqueinstancename to start a new session of binding public zrok URL with localhost :].
Important Advice
I highly suggest fully reading zrok's , as they greatly explain the when/where/how's of zrok.
If you Have Any Questions/Suggestions...
Your participation is most welcome! 🔥🙌
And If I made a mistake
Then kindly correct me :] <3
SOCIAL SHARE CARD GENERATOR