Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Hayden Young
    @haydenyoung
    also I'm assuming nodejs and nvm are installing okay for you?
    Lautaro Dragan
    @lautarodragan
    @steven272 you can now npm i -g @po.et/node too, should be easier to set up
    you'll still need to install RabbitMQ, IPFS and MongoDB separately, but you can easily achieve that using docker. take a look at the node's makefile for examples on how to build those containers
    oh, you're trying to build the source from a Windows machine. that won't work out of the box, it needs some small tweaking (or more, not sure)
    but should be fine with npm i -g @po.et/node
    steven272
    @steven272
    I am going to try this. I'll let you guys know if it works out.
    Atulkumar283
    @Atulkumar283
    hello to every one i am new in po.et can you please help how install po.et and use it for my static web site
    Atulkumar283
    @Atulkumar283
    hello any one is there
    Bryan Isbell
    @BryanIsbell_twitter
    The team usually chimes in on weekdays. Not always in here on the weekends. What platform/tech stack is your static website?
    Atulkumar283
    @Atulkumar283
    @BryanIsbell_twitter thank you for the replay i am using .net platform
    @BryanIsbell_twitter I want to integrate po.et to asp.net cms sitefinity
    Bryan Isbell
    @BryanIsbell_twitter
    @Atulkumar283 , I don't see Sitefinity integration listed yet... https://www.po.et/integrations . But if you have coding chops, the other CMS plugins are open source and it looks like somebody has done some C# work, might be enough to get started. The Frost API is easy to work with ( https://frost.po.et/ ). Otherwise, you might want to suggest the need for a Sitefinity plugin here, Telegram and Reddit Po.et groups. There may be someone in the community that has interest in starting it. By the way, I'm not part of the team, just a community member like you. Wanted to chime in this weekend since it was quiet... so others here may have additional input.
    Atulkumar283
    @Atulkumar283
    @BryanIsbell_twitter Thank you for your replay
    steven272
    @steven272
    It does not seems to work for Windows, is there not some documentation for a Windows machine too?
    Lautaro Dragan
    @lautarodragan
    @steven272 sorry, there's no official documentation on running the Node in Windows. What error are you getting?
    eoshackathon
    @eoshackathon

    Hi, I tried to build node, but meet the error:

    root@ubuntu ~/p/node# npm run build
    
    > @po.et/node@1.0.3 build /root/poet/node
    > npm run build-clear && npm run build-ts && npm run build-babel
    
    
    > @po.et/node@1.0.3 build-clear /root/poet/node
    > rm -rf dist
    
    
    > @po.et/node@1.0.3 build-ts /root/poet/node
    > tsc && npm run copy-json
    
    node_modules/@po.et/poet-js/dist/babel/src/Interfaces.d.ts(1,50): error TS1005: ',' expected.
    node_modules/@types/bluebird/index.d.ts(39,26): error TS1005: ';' expected.
    node_modules/@types/bluebird/index.d.ts(39,49): error TS1005: ';' expected.
    node_modules/@types/bluebird/index.d.ts(39,52): error TS1109: Expression expected.
    node_modules/@types/bluebird/index.d.ts(61,17): error TS1005: ',' expected.
    node_modules/@types/bluebird/index.d.ts(61,31): error TS1005: ',' expected.
    node_modules/@types/bluebird/index.d.ts(319,75): error TS1005: '>' expected.
    node_modules/@types/bluebird/index.d.ts(319,100): error TS1144: '{' or ';' expected.
    node_modules/@types/bluebird/index.d.ts(319,109): error TS1005: '=' expected.
    node_modules/@types/bluebird/index.d.ts(319,126): error TS1005: '(' expected.
    node_modules/@types/bluebird/index.d.ts(319,134): error TS1109: Expression expected.
    ...
    node_modules/@types/mongodb/index.d.ts(1238,23): error TS1005: ',' expected.
    node_modules/@types/mongodb/index.d.ts(1347,34): error TS1005: ',' expected.
    node_modules/@types/sinon/index.d.ts(489,36): error TS1005: ';' expected.
    node_modules/inversify/dts/annotation/inject.d.ts(3,45): error TS1005: ',' expected.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 2
    npm ERR! @po.et/node@1.0.3 build-ts: `tsc && npm run copy-json`
    npm ERR! Exit status 2
    npm ERR!
    npm ERR! Failed at the @po.et/node@1.0.3 build-ts script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-08-17T04_21_50_071Z-debug.log
    npm ERR! code ELIFECYCLE
    npm ERR! errno 2
    npm ERR! @po.et/node@1.0.3 build: `npm run build-clear && npm run build-ts && npm run build-babel`
    npm ERR! Exit status 2
    npm ERR!
    npm ERR! Failed at the @po.et/node@1.0.3 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2018-08-17T04_21_50_086Z-debug.log

    I have just folk the code from github.

    Geoff Turk
    @geoffturk
    Anyone on Windows wanting to try out the node, I recommend using docker-compose if you can't get it to run natively.
    Hayden Young
    @haydenyoung

    I'm running a po.et node on ubuntu 16.04. I can bash into mongo but ipfs is giving me:

    OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown

    https://github.com/poetapp/node#how-to-run-the-poet-node

    Hayden Young
    @haydenyoung
    Okay probably should have read the error message more closely. So the documented command is docker-compose exec ipfs bash but bash doesn't seem to be installed to the ipfs image. docker-compose exec ipfs /bin/sh does work.

    As for using the HTTP API, I'm guessing I hit the node_poet-node_1 container:

    Get node_poet-node_1's ip address:

    sudo docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' node_poet-node_1

    Hit the node (GET request for all works)

    curl http://172.22.0.8:18080/works
    Am I on the right track?
    Lautaro Dragan
    @lautarodragan
    hey @haydenyoung , yes you're on the right track!
    the docker-compose.yml file will also tell you which ports the node is listening on
    and yes, it's sh, not bash for the ipfs image. I'll update the docs
    Hayden Young
    @haydenyoung
    Hey @lautarodragan Long time no chat! great thanks for the feedback.
    I probably have a number of questions regarding running a node. Is this the best place to ask those questions or should I put them in the main Po.et conversation?
    Lautaro Dragan
    @lautarodragan
    Long time indeed! This is the best place. shoot!
    Hayden Young
    @haydenyoung
    great thanks. so firstly, and probably dumb question, I have my po.et node running in docker. My node runs in isolation at the moment, right? There is no replication going on here with other Po.et nodes?
    Lautaro Dragan
    @lautarodragan
    It may be in isolation but not because it’s dockerized
    It’s because the bitcoin core docker image runs in regtest by default
    If you configure it to run in mainnet it should sync with everything, including our production node
    Hayden Young
    @haydenyoung
    ah okay yeah was my next question. Or testnet?
    Lautaro Dragan
    @lautarodragan
    sorry. yeah, testnet would be fine too. we use testnet in our QA environ
    Hayden Young
    @haydenyoung
    Do I need to explicitly tell my node to use testnet? I had a look at https://github.com/poetapp/node/blob/master/src/Configuration.ts but couldn't see any settings specifying testnet vs mainnet. Or am I looking in the wrong place?
    JudicialDomicide
    @JudicialDomicide
    Hi what is the minimum VPS hardware spec required for a po.et node to run. Do you know if this can run on an AWS EC2 free tier instance?
    Lautaro Dragan
    @lautarodragan
    @haydenyoung sorry for the delay! You probably already figured it out by now, but the node doesn't really know or care about what bitcoin network you're working on, it just communicates with the instance of Bitcoin Core you want it to. So what you need to configure actually is the Bitcoin Core instance
    If you're running the one that comes with the po.et node in the docker-compose file, you can just place a docker-compose.override.yml file and set it up so
    Actually, we have an environment variable to configure so in the docker-compose: https://github.com/poetapp/node/blob/master/docker-compose.yml#L50
    USE_BTC_TESTNET and USE_BTC_REGTEST
    but you could also override the whole command section
    do mind that, by default, Bitcoin Core runs on a different port for each network
    18443 is regtest if I remember correctly, 18332 testnet and 8332mainnet
    off of the top of my head
    Lautaro Dragan
    @lautarodragan
    @JudicialDomicide that's a good question! I think you may pull it off with the free tier instance, I'd give it a try anyway. We use more powerful machines in our environments but it may just work
    The most power-hungry application of the suite is Bitcoin Core itself. I think if you can get it to run in the free instance, you're good to go
    Do keep in mind that if you want to run it in mainnet you're basically running Bitcoin in mainnet, which means a lot of storage space and network bandwidth, which can be a bit expensive in AWS
    If you're using regtest (which is the default with the Po.et Node) it literally does nothing until you call generate to artificially create blocks, so practically no storage space and no network bandwidth required... but it's only for testing purposes: you'll be disconnected from the network
    Also if you're running on testnet or mainnet you'll be connected to the network, thus downloading all the claims from IPFS, so a lot of storage and plenty of CPU and network will be consumed by that, too
    Basically everything you see in https://explorer.poetnetwork.net you'll have in your instance (once it finishes syncing)