david-caro / wikibots

Wikipedia bots by ruwiki user:MBH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wikibots

Wikipedia bots written by ruwiki user MBH.

Bots in "incubator" folder was written by ruwiki user Dmitry89 and redacted by MBH after his retirement.

Adding a new project to a solutions file

From your development environment (with dotnet 8 installed https://dotnet.microsoft.com/en-us/download/dotnet):

dotnet sln add  path/to/the/<project-name>.csproj

Deploying on toolforge

There's three steps here:

Push your changes to the repository

git commit -m 'awesome improvements'
git push origin main

Build the new image

local> ssh login.toolforge.org
myuser@toolforge> become mbh
mbh@toolforge> toolforge build start https://github.com/Saisengen/wikibots
... wait for it to build

Restart the webservice

mbh@toolforge> toolforge webservice buildservice restart

Setting up credentials

You can set the credentials by creating an environment variable in toolforge like:

cat p | toolforge envvars add WIKIBOT_CREDENTIALS

About

Wikipedia bots by ruwiki user:MBH

License:Apache License 2.0


Languages

Language:C# 94.4%Language:HTML 4.5%Language:Shell 1.2%Language:Procfile 0.0%