Using Codio to Run DuckPAN
At DuckDuckGo, we're experimenting with ways to make developing for DuckDuckHack easier. Our testing tool, DuckPAN, lets you test your instant answers, and it shows you how they would look live on DuckDuckGo. Sometimes, though, it can take a good chunk of time to get up and running.
One tool we've been playing with lately is Codio--it's an online web IDE that allocates a VM for you and streamlines the whole process. We've set up a DuckDuckHack Codio project which you can fork and try out. Take a look if you're interested, and let us know what you think!
- Create an account on Codio.
- Go to https://codio.com/DuckDuckGo/DuckDuckHack and fork the project. Make sure to fork the project and the box.
- Go into one of the repositories (such as https://github.com/duckduckgo/zeroclickinfo-spice) and fork it (You need to open the Terminal for this).
- Go into the directory (by typing in
cd zeroclickinfo-spice) and run
duckpan server. Click on "DuckPAN Server" to view the webpage.
- You should be all set!
We are just beginning a whole DuckDuckHack platform review, and we intend to dramatically improve the process of developing and testing instant answers. We'd love to hear your feedback about this kind of approach. Leave a comment below or send an e-mail to our mailing list and tell us what you think.
See https://duck.co/duckduckhack/testing_triggers for more about testing with DuckPAN.