- donwload and install node.js
- clone this repository
git clone https://github.com/alcamic/ar-vr.git
- install aframe in terminal
- install five server for hosting
npm i -g five-server@latest; five-server --port=8000
- make sure your package.json in same with in repository or you can copy this in your package.json
{
"name": "aframe",
"version": "1.0.0",
"dependencies": {
"aframe": "^1.7.1"
},
"scripts": {
"start": "live-server --port=7000",
"deploy": "ghpages"
},
"devDependencies": {
"ghpages": "0.0.3",
"live-server": "^1.2.0"
}
}
- to run for hosting , type in your terminal