Free, independent guidance

Step-by-step deployment guides

1. Publish a static website with Cloudflare Pages

  1. Create an HTML/CSS/JavaScript project in a GitHub repository.
  2. In Cloudflare, open Workers & Pages and create a Pages project connected to your repository.
  3. Select the correct build settings. For a plain static site, no build command may be necessary.
  4. Deploy, open the generated domain and test on mobile.
  5. Check HTTPS, broken links and caching.

2. Publish with GitHub Pages

  1. Push your static site to a repository.
  2. Open repository Settings → Pages.
  3. Choose the deployment source and branch or GitHub Actions.
  4. Wait for publication and verify links.

GitHub Pages does not run a continuously running Python backend.

3. Deploy a Python API

  1. Put dependencies in a reproducible file, such as requirements.txt.
  2. Expose an HTTP endpoint and bind to the port expected by your host.
  3. Store secrets in environment variables, not in source control.
  4. Choose an app platform or VPS that supports your runtime.
  5. Test startup, error logs, health checks and restarts.

4. Run a Telegram bot

  1. Create a bot token using BotFather.
  2. Choose webhook or polling based on your hosting environment.
  3. For webhook delivery, configure an HTTPS endpoint and validate incoming requests.
  4. Keep the bot token secret and limit access to admin actions.
  5. Test messages, restarts and error handling.

5. Before going live