1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-25 20:44:21 +00:00
Services network for the RYG community
Find a file
2019-04-11 18:09:18 +02:00
static Add Dota banners 2019-03-19 13:18:10 +01:00
templates Rename .entry to .diario 2019-03-11 11:32:31 +01:00
utils Merge remote-tracking branch 'origin/master' into queue_v3 2019-04-10 15:58:35 +02:00
.gitattributes Migrate binary files to git lfs 2019-01-06 19:57:24 +01:00
.gitignore Add /dndmarkov 2019-02-15 13:35:51 +01:00
application.wsgi Update gitignore and sync some files from the server 2019-02-10 16:59:36 +01:00
awardfiorygi.py Add awardfiorygi 2019-02-23 14:06:46 +01:00
bots.py weeeeeee 2018-12-18 19:34:34 +01:00
chatasthebot.py Add awardfiorygi 2019-02-23 14:06:46 +01:00
db.py Fix champion images with a name different from their id from loading (Leblanc != LeBlanc) 2019-03-24 11:54:21 +01:00
discordbot.py typo 2019-04-11 18:09:18 +02:00
isaacfetcher.py Add awardfiorygi 2019-02-23 14:06:46 +01:00
LICENSE.txt Create LICENSE.txt 2018-11-21 13:34:40 +00:00
loldata.py Move around some files 2019-02-15 13:43:44 +01:00
newuser.py Flush session instead of committing when creating a new user 2019-03-24 11:54:38 +01:00
README.md Update config and readme 2018-12-10 15:43:46 +00:00
redditbot.py Fix/ignore more minor pycharm warnings 2019-01-02 21:10:54 +01:00
requirements.txt Use a specific ytdl version 2019-02-28 21:20:04 +01:00
sql_queries.py Add previous month comparison 2019-02-22 01:39:54 +01:00
statsupdate.py Fix brawlhalla rank bug 2019-03-07 18:14:10 +01:00
strings.py Aggiunte nuove cose mangiabili con /eat 2019-03-11 10:43:22 +01:00
telegrambot.py Aggiunti i due punti (e altri caratteri) a mm! :O 2019-04-10 16:05:03 +02:00
template_config.ini Add Brawlhalla to the statsupdater 2019-03-01 17:28:25 +01:00
update.sh Use a specific ytdl version 2019-02-28 21:20:04 +01:00
webserver.py Don't crash if a non-master and non-unity branch is pushed to 2019-03-24 12:00:50 +01:00

Royalnet

This software is meant for a private internet community, therefore it contains many inside jokes and memes. Be warned!

Modules

  • bots.py: Auto-restarting of crashed modules.
  • cast.py: Magic spell generation (/cast Telegram command)
  • db.py: PostgreSQL+SQLAlchemy database connection
  • discordbot.py: Discord music (and more) bot
  • errors.py: Exception classes for all modules
  • loldata.py: League of Legends Champion data obtained from Data Dragon (may require occasional updates, for example when new champions are released)
  • newuser.py: (broken) New user creation wizard
  • query_discord_music.py: Big SQL queries
  • redditbot.py: reddit bot for /r/RoyalGames
  • stagismo.py: Dictionary of words and memes beginning with S
  • statsupdate.py: Game data tracking (Dota, LoL...)
  • telegrambot.py: Telegram multipurpose bot
  • update.sh: Quick updater script
  • webserver.sh: Main webserver for Royalnet

Install

  1. Download python3.6+, sentry-cli and ffmpeg (or avconv).
  2. Clone the repository.
  3. Rename the template_config.ini to config.ini.
  4. Set the correct values in config.ini.
  5. Add SENTRY_AUTH_TOKEN= and SENTRY_ORG= to ~/.sentryclirc.
  6. Open a new screen and there run ./update.sh.
  7. Detatch the screen with Ctrl+A and Ctrl+D.