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
http:/localhost/phpmyadmin
and create a new database with name 3dviewer
.C:\xampp\htdocs
.localhost/wordpress
in you browser and configure the wordpress settings, type: 3dviewer
as database name, root
as username, leave the password blank, leave Database Host and Table Prefix as it is.themes
, plugins
and uploads
and paste it in the corresponding folders in wordpress/wp-content/
.wordpress/wp-content/themes/3Dviewer
via your cmd and run npm install
to install node modules. If you hasn't Node.js
installed on your computer downloade the latest version from https://nodejs.org/en/download/ and install it before you run npm install
.localhost/wordpress
in you browser. Go to the Plugins tab in the menu and activate Annotation fields
and Wordpress Importer
. test_data.xml
from the cloned repository and hit submit.localhost/wordpress
and the 3dviewer-app will start running.Run protractor conf
from the test folder via Protractor.