Closed HugoCornu closed 8 years ago
Hi, I followed the steps from the "Your own graphs" section
I was able to generate the files ( positions.bin, labels.json and links.bin )
the next step writes :
Follow the same folder structure as in galactic-data. Update the config.js in this repository to point to your data server, and you are ready to explore your own graph.
Follow the same folder structure as in galactic-data.
Update the config.js in this repository to point to your data server, and you are ready to explore your own graph.
So I put the file on an express.js server into the path /public/npm/2016-06-16T00-00-00Z I added a manifest.json file into /public/npm/
{ "all": [ "2016-06-16T00-00-00Z" ], "last": "2016-06-16T00-00-00Z" }
I changed the config.js to
export default { //dataUrl: '//anvaka.github.io/galactic-data/' dataUrl: '//localhost:8082/' };
Then I launched anvaka/pm with npm start
It didnt work. I don't see error in any consoles.
I was expecting to see my own graph on http://127.0.0.1:8081/#/galaxy/npm?
Could you provide additional information on the last step ?
The issue for me was on the expressjs server serving the data files. I had to enable cross-origin request
Hi, I followed the steps from the "Your own graphs" section
I was able to generate the files ( positions.bin, labels.json and links.bin )
the next step writes :
So I put the file on an express.js server into the path /public/npm/2016-06-16T00-00-00Z I added a manifest.json file into /public/npm/
I changed the config.js to
Then I launched anvaka/pm with npm start
It didnt work. I don't see error in any consoles.
I was expecting to see my own graph on http://127.0.0.1:8081/#/galaxy/npm?
Could you provide additional information on the last step ?