SimpleAR Editor is an Augmented Reality Authoring Tool using Google Blockly. With visual programming you can create augmented reality apps.
- Clone this repository
- Install NPM
- Run the following commands:
npm install
npm start
This will start an Angular client server on localhost:4200, open your browser in this URL.
Create a new Firebase app on the Firebase console with your Google Account by clicking on Add project
and typing a name for your app.
After that click on Add Firebase to your web app
, and replace the config info (available under Authentication tab, then click on Web Setup on the upper right corner) on the environment.firebase
fields into src/environments/environment.ts, do the same to src/environments/environment.prod.ts.
Go to Database (Enable Realtime Database) > Rules, and enable anonymous access by copying the following on the text box:
{
"rules": {
".read": true,
".write": true
}
}
Follow the Poly API Guide to get a Poly API Key, then replace the API key on the environment.poly.apiKey
into src/environments/environment.ts, do the same to src/environments/environment.prod.ts.
After following the steps from Getting started, do the next steps:
- Install Angular CLI
npm install -g @angular/cli
- To prevent your keys from being exposed on Github, use the following commands:
git update-index --assume-unchanged src/environments/environment.ts
git update-index --assume-unchanged src/environments/environment.prod.ts
The code in this project is licensed under MIT License.