Proof of concept for a question editor developed for the ASQ web-app.
clone the repository
git clone https://github.com/ASQ-USI/question-editor-asq.git
install global dependencies
npm install -g bower
npm install -g gulp
install local dependencies
npm install
bower install
gulp serve
This command will transpile your ES6 polymer components into ES5 and output two IP addresses: one you can use to locally test and another that can be used from devices connected to your network.
gulp
if you would like to run a server from the dist folder
gulp serve:dist
If you prefer to execute it as a standalone application you need one more thing
npm install electron-prebuilt -g
and run with
gulp && electron .
gulp dist
If you wish to mount the app in a specific path of your server, set the MOUNT_PATH
ENV variable to the path. You can also use a .env
file in the root of the project which will get picked up automatically eg:
# .env
MOUNT_PATH=/my-mount-path