Repository navigation
EnvironmentNoDocker
Install mysql to create a server
Afterward installation, create a new database. You can set up connect to your local server and create new Database with the Mysql Workbench. Add a user for the bot if you want. The bot needs the following information for a connection to the created database:
-
username
The username to connect with. Default isrootI believe -
password
The password to connect with. -
host
The host of the machine the server is run on. If you're running the bot on the same machine,localhostshould work. -
port
Default is3306 -
database
The name of the database within the server. Each server can have multiple databases.
The jar needs to be executed with the java 17+ runtime environment. If you were able to build, but can't execute make sure your JAVA_HOME and/or Path is set correctly
Navigate to the folder ${botsBuildDir}/ambrosia and run the jar with java -jar "./AmbrosiaADD-1.0-SNAPSHOT-all.jar" Replace 1.0 with the current version.
I made a file called start.bat to run the command without having to open command prompt.
java -jar "./AmbrosiaADD-1.0-SNAPSHOT-all.jar" -o true
@pauseThis should start, then ask you to configure the generated database config
Head to Configuration for steps on how to configure the Bot