#Add domain to hosts
echo "127.0.0.1 t2c.docker" >> /etc/hosts
# Add SSL for MACOS
pnpm run sert-mac
# build at first time container
docker build -t app-t2c .
# Run docker
docker-compose up -d
# Stop docker
docker-compose down
Go to Telegram open @BotFather
- Run command:
/newbot
- Add name: T2CTest
- Add username: T2CTestBot
- Then run:
/newapp
- Send: @T2CTestBot
- Add title: T2CtestApp
- Add description: T2CtestApp
- Add avatar: 640x360 pixels.
- Add domain: https://t2c.docker
- Add name of space: app
- Run: https://t.me/T2CTestBot/app
## Scripts
This project contains the following scripts:
dev #Runs the application in development mode.
build #Builds the application for production.
lint #Runs eslint to ensure the code quality meets the required standards.
deploy #Deploys the application to GitHub Pages.
# To run a script, use the `pnpm run` command:
pnpm run {script}
# Example: pnpm run build