Comments (4)
Hi Meredith,
I’m sorry to hear that you are having trouble getting the aperture examples page to work. Before I can help you, it would be handy to know the steps you performed to build and run the aperture project.
Typically, the steps for showing the examples are as follows:
-
Navigate to the aperturejs root directory (aperture) and type “mvn clean install”
-
Navigate to aperture-server\target directory
-
You now have 2 options
-
There should be a .war file named aperture-server-X.X.X-SNAPSHOT.war. Copy that war file into the webapps directory of your preferred webserver (usually tomcat or jetty) and rename it to “aperture.war”
-
If you are using eclipse, you can create a new run configuration by setting the base directory to the aperture server directory and the goal to “package jetty:run”
-
Type “localhost:8080/aperture” in your web browser
Hope this helps in building an evaluating ApertureJS and please feel free to ask anymore questions.
Best regards,
David Gauldie
Senior Visualization Developer
Oculus Info Inc.
2 Berkeley St, Suite 600
Toronto, ON M5A 4J5
tel: 416 203 3003 x 312
fax: 416 203 0646
mob: 647 993 4285
From: mwalkertech [mailto:[email protected]]
Sent: June-19-14 10:33 AM
To: oculusinfo/aperturejs
Subject: [aperturejs] Missing Files? (#2)
Good morning, I've been looking at Aperture JS to do a quick evaluation. I've been around your website and it looks like a great tool. I have downloaded and built it and have run into a few problems and was hoping for a little bit of help.
I've had a few issues running the examples in the version of Aperture JS that I downloaded. First, I couldn't run them in Chrome. I didn't see the example thumbnails on the left to click on in the "API Examples" page, so I opened the debugger. I saw this error:
"XMLHttpRequest cannot load file:///D:/utils/aperturejs-master/aperture/aperture-examples/src/main/javascript/examples/examples.json file:///D:utilsaperturejs-masterapertureaperture-examplessrcmainjavascriptexamplesexamples.json . Received an invalid response. Origin 'null' is therefore not allowed access."
I can open that file from my browser, the link is correct. After some quick research, this is apparently an issue that sometimes happens on Chrome. Since I'm trying to do a quick evaluation of ApertureJS, so I didn't investigate this issue closely. I just switched to Firefox, which did display the example thumbnails on the left-hand side.
Once I started running in firefox, I found that I seemed to be missing some files. First, I found that I was missing these files from ..\aperture\aperture-examples\src\main\javascript\index.html:
When I went to look in github I didn't see them in there either. I manually downloaded these through your website through the debugger and added them to the correct locations in the file structure. Now I'm running into stylesheet issues when trying to run the examples. Did I miss a step? I downloaded and built the project in maven. When I run from either the src or the target directories I'm having the same issues. Please let me know what steps to take.
One final question. We're particularly interested in the Node-Links. What is the largest number of nodes/edges that you have tested in ApertureJS?
Thank you!
Meredith
—
Reply to this email directly or view it on GitHub #2 . https://github.com/notifications/beacon/4194153__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODgwNzU4NywiZGF0YSI6eyJpZCI6MzUwNjI3MjN9fQ==--6fb82d0dbed4172b72199e9ffa86083545360173.gif
from aperturejs.
David,
Thank you so much for your quick response. This was exactly what I needed. I ran it through eclipse and it works beautifully. I'm sorry for bothering you with that question, did I miss some documentation or a getting started guide somewhere that walks a new user through those steps? Can you please point me where I should look for documentation to move forward? I want to start working with the Node-Links visualizations with our own graph data. In the meantime, I'll just follow the Les Mis example and add my data set in a similar fashion.
Thank you!
Meredith
from aperturejs.
Hi Meredith,
We are currently working on updating our documentation for aperturejs. So don't worry if you missed something on github. However, we have extensive documentation at www.aperturejs.com which should help you with your aperturejs development.
Regards,
David Gauldie
Sent from my iPhone
On Jun 19, 2014, at 2:00 PM, mwalkertech [email protected] wrote:
David,
Thank you so much for your quick response. This was exactly what I needed. I ran it through eclipse and it works beautifully. I'm sorry for bothering you with that question, did I miss some documentation or a getting started guide somewhere that walks a new user through those steps? Can you please point me where I should look for documentation to move forward? I want to start working with the Node-Links visualizations with our own graph data. In the meantime, I'll just follow the Les Mis example and add my data set in a similar fashion.Thank you!
Meredith—
Reply to this email directly or view it on GitHub.
from aperturejs.
Hi Meredith, we just pushed some updated documentation the covers getting started in a little more detail. We also created a "bootstrap" project to help getting off the ground a little easier. You can find it at https://github.com/oculusinfo/aperturejs-bootstrap. Hope this helps!
from aperturejs.
Related Issues (9)
- Beginner First Time Set Up Instructions HOT 2
- mvn clean install fails
- Error compiling aperturejs HOT 10
- yfiles dependency missing HOT 2
- Build Error while building aperturejs HOT 4
- documentation HOT 3
- Sankey paths: endpoints don't line-up with nodes unless uid set
- Sankey paths: source locations can sometimes be offset from node
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aperturejs.