Skip to content

macdice/cfbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run cfbot locally

Setup database and config

cp cfbot_config.py.example cfbot_config.py
createdb cfbot
createuser cfbot
psql -v ON_ERROR_STOP=1 -f create.sql "dbname=cfbot"

Setup python dependencies

If you want to install them globally:

pip install --user -r requirements.txt

If that doesn't work for some reason or you prefer to scope these dependencies to the project, you can instead use a virtual env:

# create a virtual environment (only needed once)
python3 -m venv env

# activate the environment. You will need to activate this environment in
# your shell every time you want to run the tests. (so it's needed once per
# shell).
source env/bin/activate

# Install the dependencies (only needed once, or whenever extra dependencies
# get added to requirements.txt)
pip install -r requirements.txt

Initialize patch burner template

On Linux

./cfbot_patchburner_docker_ctl.sh init-template

On FreeBSD

./cfbot_patchburner_ctl.sh init-template

Run cfbot

./cfbot.py

Debug a specific patch

./cfbot_patch.py 48 4496

About

Experimental commitfest machinery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published