pybossa

How to configure webhook in Pybossa

旧巷老猫 提交于 2020-01-07 07:37:41
问题 The Pybossa didn't describe how to configure webhook. I met some issue when I'm configuring webhook, below is my steps: fork pybossa webhook example Run webhook with default settings(modified api_key and endpoint). In Pybossa, modify the project and add webhook to point to webhook running URL. Open a command line window and execute the following command: # rqworker high Then when a task is completed, I see there are logs in command line window. which is complaining the following I get the

How to configure webhook in Pybossa

时光总嘲笑我的痴心妄想 提交于 2020-01-07 07:37:37
问题 The Pybossa didn't describe how to configure webhook. I met some issue when I'm configuring webhook, below is my steps: fork pybossa webhook example Run webhook with default settings(modified api_key and endpoint). In Pybossa, modify the project and add webhook to point to webhook running URL. Open a command line window and execute the following command: # rqworker high Then when a task is completed, I see there are logs in command line window. which is complaining the following I get the

Access pybossa database through terminal

让人想犯罪 __ 提交于 2019-12-16 18:03:50
问题 the thing is tath i had pybossa installed with vagrant and juju, so when i've tried to access to posgresql prompt it says no postgresql installed which is not possible cause pybossa is already in production so taths the reason i cannot even try to do a import-export dump file from database directly so how can i do it, i know how to do it from a normal installation but instead in a vagrant with juju a can't get inside the postgresql cause it says it is not installed, can anyone help me the

Issue in Pybossa webhooks, how to execute it

孤街浪徒 提交于 2019-12-11 05:12:37
问题 I am working with the Pybossa webhooks, and found this plugin to analyse the Pybossa results in real-time. I forked it but not getting how it is to be executed. Currently, I am executing it as follows: python app.py test_project where test_project is my project_short_name. But, it is reverting me to index.html page of this repository. 回答1: I found it ! Look into pybossa.model.event_listeners you will find push_webhook function, it push webhook into queue. And it's called by on_taskrun_submit,