- install a recent version of NodeJS
- clone this repository:
git clone https://github.com/arkecosystem/ark-liteclient-template
- install build components:
npm install -g browserify uglifyjs watchify
- install dependencies:
npm install
- build the dependencies:
npm run build-dependencies
- build app.js:
npm run build
- open index.html in a browser
- perform change in app.js and index.html
- build the app
npm run build
(if you want to have it automated each time you save app.js:npm run watch
) - refresh index.html in the browser
Just copy app.min.js
and index.html
on your remote server and it works.