@@ -4,6 +4,8 @@ A Telegram bot that provides real-time multiplayer games that can be played in a
44
55You can see the bot in action by messaging [ @inlinegamesbot ] ( https://telegram.me/inlinegamesbot ) .
66
7+ The bot is currently hosted at [ DOM Cloud] ( https://domcloud.co ) .
8+
79#### Currently available games:
810
911- Tic-Tac-Toe
@@ -19,6 +21,7 @@ You can see the bot in action by messaging [@inlinegamesbot](https://telegram.me
1921## Deploying
2022
2123### Heroku
24+
2225<details >
2326 <summary >Instructions</summary >
2427
@@ -31,16 +34,19 @@ You will also want to add **Heroku Scheduler** addon and set up a hourly task to
3134- ` php bin/console cron `
3235
3336_ If this command times out too fast try using something like this instead: ` php -d max_execution_time=2700 bin/console cron ` _
37+
3438</details >
3539
3640### Google Cloud Platform
41+
3742<details >
3843 <summary >Instructions</summary >
3944
4045- Install dependencies with ` composer install `
4146- Copy ` env_variables.example.yaml ` into ` env_variables.yaml ` and fill out the details
4247- Run the deployment command: ` gcloud app deploy --project YOUR-PROJECT-NAME-HERE app.yaml cron.yaml `
4348- Visit ` https://YOUR-PROJECT-NAME-HERE.appspot.com/admin?a=post-install ` to perform post-install tasks
49+
4450</details >
4551
4652### Fly.io
@@ -59,6 +65,31 @@ _If this command times out too fast try using something like this instead: `php
5965
6066</details >
6167
68+ ### DOM Cloud
69+
70+ <details >
71+ <summary >Instructions</summary >
72+
73+ - Copy ` .env.example ` into ` .env ` and fill out the details
74+ - Upload ` .env ` and ` crontab ` to ` /home/<your-website-name>/config ` directory on the FTP
75+ - ` crontab ` will require modifications - use full paths to the script - e.g.: ` /home/<your-website-name>/public_html/bin/console `
76+ - Run this deployment task:
77+ ```
78+ source: 'https://github.com/jacklul/inlinegamesbot'
79+ commands:
80+ - 'test -f ../config/.env && cp -f ../config/.env .'
81+ - 'test -f ../config/config.php && cp -f ../config/config.php . || exit 0'
82+ - 'composer install --no-dev --optimize-autoloader --ignore-platform-reqs'
83+ - 'php bin/console install'
84+ - 'php bin/console set'
85+ - 'test -f ../config/crontab && cat ../config/crontab | crontab - || exit 0'
86+ features:
87+ - ssl
88+ - 'php 7.4'
89+ ```
90+
91+ </details >
92+
6293## Note on translations
6394
6495Translations support is implemented but it is not used mainly because translated text would be displayed to both players - this could be problematic in "gaming" groups - people setting language that other player can't understand!
0 commit comments