-
Compile the code by running the following command:
msbuild src/CVNBot.sln /p:Configuration=ReleaseThis command creates
CVNBot.exeand other files in the output directory atsrc/CVNBot/bin/Release. -
Create a directory for your bot, and move the contents of
src/CVNBot/bin/Releaseto it. -
Edit
CVNBot.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 CVNBot.ini, andchmod 755 CVNBot.exe. - For Countervandalism Network:
chmod 664 *,chmod 660 CVNBot.ini,chmod 755 CVNBot.exe, andchgrp cvn.cvnservice *.
- For personal use,
-
You can now start the start the bot by running
mono CVNBot.exefrom your bot directory.
The bot will join the specifiedfeedchannel(by default:#cvn-sandbox).
-
Compile the code by running the following command:
msbuild src/CVNBot.sln /p:Configuration=ReleaseThis command creates
CVNBot.exeand other files in the output directory atsrc/CVNBot/bin/Release. -
Enter
src/CVNBot/bin/Release. -
Remove
Projects.xmlandCVNBot.ini(to avoid accidentally overwriting your existing ones, later) -
Make sure the bot is not currently running (e.g.
Botname quiton IRC, and check output ofps aux). -
Copy all remaining files in
src/CVNBot/bin/Releaseto your existing bot directory. For example:src/CVNBot/bin/Release$ cp * /srv/cvn/services/cvnbot/CVNBotXYZ/ -
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 CVNBot.ini, andchmod 755 CVNBot.exe. - For Countervandalism Network:
chmod 664 *,chmod 660 CVNBot.ini,chmod 755 CVNBot.exe, andchgrp cvn.cvnservice *.
- For personal use,
-
Start the bot (or, let stillalive start it).