-
Compile the code by running the following command:
msbuild src/CVTBot.sln /p:Configuration=Release
This command creates
CVTBot.exe
and other files in the output directory atsrc/CVTBot/bin/Release
. -
Create a directory for your bot, and move the contents of
src/CVTBot/bin/Release
to it. -
Edit
CVTBot.ini
: Set at leastbotnick
. -
Set permissions and ownership correctly. This step is after the copying of files because group ownership is usually not preserved when copying files.
- For personal use,
chmod 644 *
,chmod 600 CVTBot.ini
, andchmod 755 CVTBot.exe
. - For organisational use,
chmod 664 *
,chmod 660 CVTBot.ini
,chmod 755 CVTBot.exe
, andchgrp cvt.cvtservice *
.
- For personal use,
-
You can now start the start the bot by running
mono CVTBot.exe
from your bot directory.
The bot will join the specifiedfeedchannel
.
-
Compile the code by running the following command:
msbuild src/CVTBot.sln /p:Configuration=Release
This command creates
CVTBot.exe
and other files in the output directory atsrc/CVTBot/bin/Release
. -
Enter
src/CVTBot/bin/Release
. -
Remove
Projects.xml
andCVTBot.ini
(to avoid accidentally overwriting your existing ones, later) -
Make sure the bot is not currently running (e.g.
Botname quit
on IRC, and check output ofps aux
). -
Copy all remaining files in
src/CVTBot/bin/Release
to your existing bot directory. For example:src/CVTBot/bin/Release$ cp * /srv/cvt/services/cvtbot/CVTBotXYZ/
-
Set permissions and ownership correctly. This step is after the copying of files because group ownership is usually not preserved when copying files.
- For personal use,
chmod 644 *
,chmod 600 CVTBot.ini
, andchmod 755 CVTBot.exe
. - For organisational use,
chmod 664 *
,chmod 660 CVTBot.ini
,chmod 755 CVTBot.exe
, andchgrp cvt.cvtservice *
.
- For personal use,
-
Start the bot.