open-craft / xblock-poll

An XBlock for Polling users and displaying the result
GNU Affero General Public License v3.0
18 stars 66 forks source link

can this xblock-poll run in xblock-sdk environment? #76

Closed yinhuanyi closed 4 years ago

yinhuanyi commented 4 years ago

can this xblock-poll run in xblock-sdk environment?I try to run integrate this in xblock-sdk,but does not success

kaizoku commented 4 years ago

Hi @yinhuanyi, yes, this will run in the xblock-sdk. What is the error you're seeing when you install xblock-poll into xblock-sdk?

I got xblock-poll setup in the xblock-sdk with the sdk install setup, and then installing xblock-poll's requirements, followed by xblock-poll itself:

virtualenv .venv
source .venv/bin/activate
cd xblock-sdk
make install
cd ../xblock-poll
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install -e .

There were some python requirements missing until I explicitly installed xblock-poll's requirements files as well. Is this the cause of the issue you're seeing?

yinhuanyi commented 4 years ago

ok , Thank you

yinhuanyi commented 4 years ago

and another question: How can I integrate MIT Scratch into xblock based on xblock-poll? Can we do this

xitij2000 commented 4 years ago

@yinhuanyi How would you want them to be integrated? I do not think this is possible out of the box, but it is certainly something that can be developed, and contributed to this repo.