-
Notifications
You must be signed in to change notification settings - Fork 0
Web server
Now, you can simply run a web server, let's see how to do it
First, you need to create an account on ngrok.com. After that, you can grab your auth token in your dashboard here : your dashboard
Now open the settings editor, and in the web section, paste your token in the Ngrok Token field. Don't forget to save by clicking the green button
You can do this by just changing the title field and saving
Just launch the web.exe file. Also make sure to run spc.exe after each round saved. This webpage takes the files from the export folder, so if you don't run SPC, the data won't be updated
When you launch the web server, a terminal should open and after a few seconds, you should a link like this one:
https://f209-2a02-842a-53a0-c201-4981-e082-1b37-b9aa.ngrok-free.app(It's a random link, it will change every time you run the script)
You can just close the terminal or press CTRL + C in the terminal
- If you close the terminal, the server will stop.
- If you want to stop the server, press
CTRL + Cin the terminal. - You need to run SPC to update the data in the web server.
- You cannot run two python instances on VS Code. That's why I open the web server with the python executable directly.
Super Python Calculator - Coded By Mouton Binoclard
If you need some help to run the code or more explaination, feel free to contact me on discord ! (@moutonbinoclard)