An open-source tool to send commands to your python program through a web terminal
NOTE: YOU CANNOT USE MY PUBNUB KEYS. I'VE ALREADY DELETED THEM. To use this tool you have to create a keyset using PubNub
To start, go to PubNub Sign up and sign up for free.
Next, pick this option in order to let PubNub know we'll be using this for our terminal
Click on "Create a new keyset"
Choose whatever name you'd like
Click on the keyset you made in the previous step
You will see a screen like this -
These keys are incredibly important. They will be used for initialization.
Next, download the repo and open index.html
You should see a web terminal -
Next, you have to write this command -
NOTE: DO NOT COPY PASTE THE EXACT SAME THING WRITTEN, YOU HAVE TO REPLACE THE ARGUMENTS WITH THE ACTUAL KEYS In my case it would look like this -
Press enter, you should see this -
Next we need to initialize the python terminal, open your command-line In case you haven't downloaded this repository, please do so now.
You need to do "cd <path_where_downloaded_repository_is>"
After which, do "py main.py <publish_key> <subscribe_key> <keyset_name>" In my case, i'll be typing -
Press enter
If you already have pubnub module installed it should look like this -