Skip to content

Hosting

Czechbol edited this page Jun 11, 2020 · 5 revisions

Docker

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. This container system also makes it safer because the code runs in a virtualized environment and not directly in the system, which protects the system if an exploit is found.

All you have to do is to execute one docker-compose command in the project directory.

docker-compose down && docker-compose up --build

Standalone

If you can't run the bot in a Docker container, you can run it directly with nohup. resources/amadeus.sh is a wrapper for this kind of situation. It is not recommended to run the bot this way.

Note that this script was once written and has not been tested since.

Clone this wiki locally