3Dviewer
Touch screen intreface for skecthfab models
Install / Use
/learn @RaySpaceAB/3DviewerREADME

3DViewer
This wordpress theme is written in AngularJS to visualize 3D-models from Sketchfab by using their Viewer API. A working demo is available at http://shmdemo.se
Run from localhost
- Start Apache and mySQL server with XAMPP or any server application.
- Log in to
http:/localhost/phpmyadminand create a new database with name3dviewer. - Download the lates worpress version from Wordpress.com. Unzip it, copy and paste the worpress folder into to
C:\xampp\htdocs. - Type
localhost/wordpressin you browser and configure the wordpress settings, type:3dvieweras database name,rootas username, leave the password blank, leave Database Host and Table Prefix as it is. - Clone the github repository and copy the content in
themes,pluginsanduploadsand paste it in the corresponding folders inwordpress/wp-content/. - Navigate to
wordpress/wp-content/themes/3Dviewervia your cmd and runnpm installto install node modules. If you hasn'tNode.jsinstalled on your computer downloade the latest version from https://nodejs.org/en/download/ and install it before you runnpm install. - Type
localhost/wordpressin you browser. Go to the Plugins tab in the menu and activateAnnotation fieldsandWordpress Importer. - Go to the Tools tab and then import>(Wordpress) run importer>select file. Selcet
test_data.xmlfrom the cloned repository and hit submit. - Go to the Appearance tab and activate the 3Dviewer theme.
- Open the first post and hit the update buttom in the right corner.
- Refresh the webpage
localhost/wordpressand the 3dviewer-app will start running.
Running end-to-end tests
Run protractor conf from the test folder via Protractor.
