The workshop.rcss.ir project is a SvelteKit application, automatically deployed using GitHub Actions and served globally through Cloudflare Workers.
For local development, please follow the steps below:
- Clone the repository:
git clone https://github.com/<username>/workshop.rcss.ir.git
cd workshop.rcss.ir
- Install dependencies:
npm install
- Copy the
.env.example
file to a.env
file and fill in theTELEGRAM_BOT_ID
andTELEGRAM_CHANNEL_ID
:
cp .env.example .env
# Edit the .env file with your Telegram credentials
- Run the project locally:
npm run dev
sequenceDiagram
participant Developer as 💻 Developer
participant GitHub as 📤 GitHub Actions
participant Cloudflare as ⛅ Cloudflare Workers
Developer->>GitHub: 1. Push code to repository
GitHub->>Cloudflare: 2. Run CI/CD Pipeline
Cloudflare->>Cloudflare: 3. Deploy new version
Note right of Cloudflare: The application is now<br> live and distributed globally.
sequenceDiagram
participant User
participant Website
participant Cloudflare Worker
participant Telegram Bot
participant Telegram Channel
User->>Website: Visits workshop.rcss.ir
Website->>User: Displays registration section
User->>Website: Submits information
Website->>Cloudflare Worker: Sends registration data
Cloudflare Worker->>Telegram Bot: Forwards user data
Telegram Bot->>Telegram Channel: Posts user info
This project is open-sourced under the MIT License. Feel free to use, modify, and distribute the code as you see fit.
We warmly welcome contributions! 🙌
If you're interested in contributing to the workshop.rcss.ir project, feel free to open a pull request or raise an issue. For any questions, please reach out to our contact person:
📧 Email: sadraiiali@gmail.com
👥 This project is part of the efforts by Iranopen committee members to provide a learning workshop on 2D soccer simulation.