You are viewing a single comment's thread from:

RE: New Website

@juliank, this is amazing! I checked it out this morning and am happy to still be among the top 25 even though I only post one photo a day! Now the site is offline so I guess you are working on some improvements :) Maybe you could talk to @photogames and include them as well?

I'm curious to know what you use to interact with the Steem blockchain - I heard that SteemSQL is a popular way, but it costs a monthly fee. Or do you do it all with steem-python? Also, do you have any of your code for the website or the photocontests bot available as on Github (could be great for an utopian post as well!)? We have some plans for @travelfeed that might include a steem-python bot, a Discord bot and a website, so it would be great to have some existing open code to use ;)

Sort:  

I will certainly have a look at @photogames.

I use steem-python to listen in on the steem blockchain and gather the data that I want to use and maybe store. The is made with a html template and the django framework. There is a link to the template creator on the website. There is a lot of code made available via @steempytutorials that are basically tools used to make everything work.

I am currently working my way through the excellent @steempytutorials, but I couldn't get steem-python to work with Anaconda Python, so I manually installed Python 2.7.12 and have successfully upvoted from the command line using the commands from the steem-python documentation, but when I try to execute the example python scripts you provide in @steempytutorials I am getting the error message "TypeError: can not encrypt/decrypt unicode objects".
Have you read the new post about Hivemind on @steemitblog? It might actually have many of the features that can now only achieved with a steem-python bot already implemented.

For the @steempytutorials I recommend going with with settings that are recommended. I installed a new droplet from digital ocean this week for the website. As long as you follow the #0 tutorial everything will work fine.

About the unicode, you might need to set your locales.

export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"

Also it is good practise to run your code on a server.

I have not the red new about Hivemind yet.

I followed the tutorial and even used a digital ocean droplet myself, the only difference is that I use Debian instead of Ubuntu but since Ubuntu is based on Debian it shouldn't make any difference.. I will try it again and set the Unicode locales, I had the language settings set to fit my German keyboard so that might have messed it up, thanks for the tip!