Jump to content

gigak

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by gigak

  1. actually i am already on stage to configure steem library. and it retrieved account information. on this stage it can't make complex actions like upvote a comment but i will spend my day on it. and yes i can "install" package my own. i found that wsgi script includes code os.path.append() to my home directory which gives me ability to import relatively. that means i can copy installed package from my python which must be same version as heliohost and it just works. and relative import is good because it first search in current directory and if requirements are not fulfilled then goes in site-packages on which i don;t have root access. i will try to settle everything and see what can i do.

  2. It's clear now. even if you were giving me root permission i don't want it. so big responsibility. I will try and search why does it need this dirs or if i change its path to my public_html. Can i create virtual env? And and make python path to this virtual env? And will i be able to install packages? It's so hard to work with python wihout shell :( . also where does installed packages go? is it common for people which are on python 3.6? or its installed for users exclusively?

  3. Yes i have followed this guide and was successful when i wanted to test if flask was working. Then i created little application on my machine that works well on mymachine but when uploaded gives me error and cant understand whats wrong. Is there any code or method that i can get that errors? I need it so much.and this error must be for time when i have tried php and it worked. But i want error that says something about steem. When i import steem from Steem it crashes.

  4. i need a help. it gives me errors while on my machine works well and i can't understand what is the problems because it does not output valuable information to understand what i have to look in to :( can i get this information? is there any server error.logs? or python code to give me console information or is there any way to use flask debugger? anyway i need to know exactly what causes problem :( . on same url for example "www.upvoter.heliohost.org/hey" it gives me url not found after reload says internal server error.

    and about piston-cli its ok i can do it only with steem library. it's just easier version of steem think so.

  5.  

    i am using python.

    I know that, won't the PHP port be easier to implement and maintain?

     

    thing is i don't have experience with PHP. and i am quite medium already with python. and love python. thanks for your advice. and i guess if php work python will work too since those apis are the same only language differs. they connect same thing blockchain.

  6. the firewall only allows connections on the outward facing ports @wolstech discribed, (for a website only port 80 and 443 matter), the software API you require already has a PHP port: https://github.com/davidkevork/steemphp

     

    I'm not sure what you mean by "can't configure their API", you going to need to elaborate.

    i am using python.

     

     

    the firewall only allows connections on the outward facing ports @wolstech discribed, (for a website only port 80 and 443 matter), the software API you require already has a PHP port: https://github.com/davidkevork/steemphp

     

    I'm not sure what you mean by "can't configure their API", you going to need to elaborate.

    i am using python. need module called steem which is steemit api for python. i have to just use this api. if works good if don't move on.

     

  7. He'll need to install those most likely.

     

    As for sockets, they do, but be aware outbound connections can only be made on standard ports (21,25,80,443,etc.). We block all the others unless you specifically request them and can justify their need (we generally recommend you reconfigure your target server to use a common port instead). Inbound connections on custom ports are not permitted at all.

     

    Escalating.

    i am trying to create upvoter site for steemit.com. and use steem-api via python. so there is nothing illegal or bad. i think this api uses sockets and it makes sense. i hope heliohost won't permit my connection. and of course i can't configure their api. i hope everything will work out. and am i able to run pip install process with cronjob?

    • Like 1
  8. Sorry for being stupid :D ok my information is:
    gigakh
    Upvoter.heliohost.org
    Tommy
    Python 3.6

    I need steem piston-cli js2py sqlite flask-mysqldb.

    Is there any way that i install those mannually. Maybe i will need some other little modules should i bother you everytime? can i use cron job for this? if yes i am not unix expert so if you would give me whole command to install module. Does socket connections work on tommy?

×
×
  • Create New...