straumat / blockchain2graph

Blockchain2graph extracts blockchain data (bitcoin) and insert them into a graph database (neo4j).
GNU General Public License v3.0
149 stars 32 forks source link

deploy #593

Open bigsun0 opened 4 years ago

bigsun0 commented 4 years ago

Can i use idea tool to run in window?How to deploy it?

straumat commented 4 years ago

Yes Java runs on Most OS. Do you know docker ?

bigsun0 commented 4 years ago

Do I have to install a Docker?Is it in a virtual system?Can you explain the specific operation process?

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月11日(星期二) 晚上7:24 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

是的,Java运行在大多数操作系统上。你认识码头吗?

— 您收到此消息是因为您编写了线程。 直接回复这封电子邮件,在GitHub上查看,或取消订阅.

straumat commented 4 years ago

It's not required but it's an easy way to make it work. Just install docker : https://docs.docker.com/docker-for-windows/

Then, downnoad this file : https://gist.github.com/straumat/54edc240554f84c71b81a8d926b8f5be

In the command line, just type : docker-compose up -f docker-compose-blockchain2graph-bitcoin-neo4j.yml

bigsun0 commented 4 years ago

My machine is Window family version, so It should not support Docker. Is there any other way?

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 凌晨4:31 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

It's not required but it's an easy way to make it work. Just install docker : https://docs.docker.com/docker-for-windows/

Then, downnoad this file : https://gist.github.com/straumat/54edc240554f84c71b81a8d926b8f5be

In the command line, just type : docker-compose up -f docker-compose-blockchain2graph-bitcoin-neo4j.yml

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

straumat commented 4 years ago

You should install Java first then neo4j then, download blockchain2graph and run it with the command : java -jar blockchain2graph/blockchain2graph-bitcoin-neo4j.jar

bigsun0 commented 4 years ago

I  download the source code at https://github.com/straumat/blockchain2graph . Java and secondary  is already installed at local.But I didn't find the JAR file you mentioned in the file.

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 下午4:43 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

You should install Java first then neo4j then, download blockchain2graph and run it with the command : java -jar blockchain2graph/blockchain2graph-bitcoin-neo4j.jar

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

straumat commented 4 years ago

It's here https://github.com/straumat/blockchain2graph/releases/download/3.1/blockchain2graph-bitcoin-neo4j.jar

bigsun0 commented 4 years ago

I'll follow the steps you said.but org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'application': 

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 下午4:43 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

You should install Java first then neo4j then, download blockchain2graph and run it with the command : java -jar blockchain2graph/blockchain2graph-bitcoin-neo4j.jar

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

straumat commented 4 years ago

Are you sure you are running java -jar blockchain2graph-bitcoin-neo4j.jar in the directory where is blockchain2graph-bitcoin-neo4j.jar ?

bigsun0 commented 4 years ago

Yes, I put him on the tdesktop.

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 晚上7:45 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

Are you sure you are running java -jar blockchain2graph-bitcoin-neo4j.jar in the directory where is blockchain2graph-bitcoin-neo4j.jar ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bigsun0 commented 4 years ago

yes,i put it on the desktop.

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 晚上7:45 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

Are you sure you are running java -jar blockchain2graph-bitcoin-neo4j.jar in the directory where is blockchain2graph-bitcoin-neo4j.jar ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bigsun0 commented 4 years ago

See the hint. It should be on.But there's a bug in it.

------------------ 原始邮件 ------------------ 发件人: "Stéphane Traumat"<notifications@github.com>; 发送时间: 2020年8月12日(星期三) 晚上7:45 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

Are you sure you are running java -jar blockchain2graph-bitcoin-neo4j.jar in the directory where is blockchain2graph-bitcoin-neo4j.jar ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

bigsun0 commented 4 years ago

I had a problem when I was running.Can you tell me the cause of the result? Starting to process block 000000001 15:24:09 - Loading block data from Bitcoin core 15:24:09 - The block was not retrieved 15:24:09 - No response from core for block n°000000001

straumat commented 4 years ago

Is your bitcoin server running?

bigsun0 commented 4 years ago

The local bitcoin wallet? Do I need to open my Bitcoin wallet when I run the program?

straumat commented 4 years ago

No but you need and running bitcoin server

bigsun0 commented 4 years ago

Can you tell me how to run it? I do not know what it is?

straumat commented 4 years ago

You can use my server


bitcoinCore.hostname=5.196.65.205
bitcoinCore.port=8332
bitcoinCore.username=bitcoinrpc
bitcoinCore.password=JRkDy3tgCYdmCEqY1VdfdfhTswiRva
``
bigsun0 commented 4 years ago

I've connected with it,but The database has only indexes, no data.

straumat commented 4 years ago

Do u have any error message ?

bigsun0 commented 4 years ago

No, the program is working fine.

------------------ 原始邮件 ------------------ 发件人: "straumat/blockchain2graph" <notifications@github.com>; 发送时间: 2020年8月24日(星期一) 下午4:25 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

Do u have any error message ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

straumat commented 4 years ago

DId you manage to workout the situation ?

bigsun0 commented 4 years ago

I try my best to workout it,but i failed.

------------------ 原始邮件 ------------------ 发件人: "straumat/blockchain2graph" <notifications@github.com>; 发送时间: 2020年9月7日(星期一) 下午3:42 收件人: "straumat/blockchain2graph"<blockchain2graph@noreply.github.com>; 抄送: "Idealism°i(唯心)"<2213358742@qq.com>;"Author"<author@noreply.github.com>; 主题: Re: [straumat/blockchain2graph] deploy (#593)

DId you manage to workout the situation ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.