Setting up BigSemanticsService

adunofaiur edited this page May 31, 2014 · 6 revisions

Before getting started, make sure that you have the BigSemantics Javascript project cloned to your local machine. Start a web server to serve scripts and style files from the project. For testing and development, the simplest way of doing so is to use the SimpleHTTPServer from Python:

$ cd path-to-BigSemanticsJavaScript\..
$ python -m SimpleHTTPServer
Serving HTTP on port 8000 ...

Create a HTML file named as **index.html** in a folder so that it can be served through the web server. In the above example, the HTML file can be placed in the folder containing the BigSemanticsJavaScript project. Create a basic structure in the file:

    <title>My First Example with BigSemanticsJavaScript</title>
    My First Example with BigSemanticsJavaScript!

Now, if you navigate to http://localhost:8000, you should see the text.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.