Workflow

1. Deploy a mini-game for testing
install portex cli
run
portex newto create a new mini-gamerun
portex deployto deploy a mini-game for testing
more details in Use CLI
2. Create a bot in Telegram
open telegram and search @BotFather
start /newbot in chat
set a name for your bot
get the bot token
3. Configure bot in Portex
use
portex botto configure botrun
portex bot register <app-name> <bot-token>to register bot
4. Integrate Portex SDK to your mini-game
import https://sdk.portex.app/portex-sdk.min.js to your mini-game
you can run
portex lsto list all your mini-games with app-idinitialize Portex SDK with your app-id
more details in Portex SDK
5. Publish your mini-game
run
portex publishto publish your mini-game for production
Last updated