- Clone the repository with sub-repos
git clone git@github.com/AyakoBot/Ayako.git --recurse- Copy the
.env.examplefile to.envand fill/replace the values - Make Prometheus ready
cd ./scripts
./postclone.sh- Apply Redis performance settings
sudo sysctl -w vm.overcommit_memory=1
sudo sysctl -w vm.overcommit_memory=1
sudo sysctl -w vm.nr_hugepages=1024
echo 'vm.overcommit_memory = 1' | sudo tee -a /etc/sysctl.conf
echo 'vm.overcommit_memory = 1' | sudo tee -a /etc/sysctl.conf
echo 'vm.nr_hugepages = 1024' | sudo tee -a /etc/sysctl.conf- Build and run the Docker Compose image
docker compose up -ddocker compose build ayako --no-cache
docker compose down ayako
docker compose up ayako -d