UNPKG

512 Bapplication/x-shView Raw
1#!/usr/bin/env bash
2
3# Installs a pre-built simple HTML / JavaScript ewd-xpress application
4
5# Install the client-side JavaScript file (ewd-client.js)
6
7cd ~/qewd
8npm install ewd-client
9cp ~/qewd/node_modules/ewd-client/lib/proto/ewd-client.js ~/qewd/www
10
11# Install the simple example application
12
13cd ~/qewd/www
14mkdir test-app
15
16cp ~/qewd/node_modules/qewd/example/test-app/index.html ~/qewd/www/test-app
17cp ~/qewd/node_modules/qewd/example/test-app/node_modules/test-app.js ~/qewd/node_modules
18
19cd ~
20echo 'Done!'