Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
/ blitz-tanks Public archive

🌟 Experimental recommender system for World of Tanks Blitz

License

Notifications You must be signed in to change notification settings

eigenein/blitz-tanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blitz-tanks

🌟 Experimental recommender system for World of Tanks Blitz

Latest GitHub tag GitHub workflow status

Developer's notes

systemd unit

[Unit]
After = network.target network-online.target
BindsTo = network-online.target

[Service]
Type = simple
User = pi
WorkingDirectory = /home/pi/.blitz-tanks
ExecStart = /home/pi/bin/blitz-tanks web

[Install]
WantedBy = multi-user.target

Keep back MongoDB on Raspberry Pi

sudo apt-get install mongodb-org-mongos=4.4.18 mongodb-org-tools=4.4.18 mongodb-org-shell=4.4.18 mongodb-org-database-tools-extra=4.4.18 mongodb-org=4.4.18 mongodb-org-server=4.4.18
sudo apt-mark hold mongodb-org-mongos mongodb-org-tools mongodb-org-shell mongodb-org-database-tools-extra mongodb-org mongodb-org-server

Hourly mongodump

0 * * * * mongodump --uri="mongodb://localhost/blitzTanks" --gzip --archive=.blitz-tanks/backups/"$(date +\%Y\%m\%d-\%H\%M).tar.gz"

Hourly trainer

0 * * * * BLITZ_TANKS_ENVFILE=.blitz-tanks/.env systemd-cat -t blitz-tanks-trainer bin/blitz-tanks trainer fit

About

🌟 Experimental recommender system for World of Tanks Blitz

Resources

License

Stars

Watchers

Forks

Languages