Pulsar is the Vue.js web interface for the European Financial Transparency Gateway (EFTG) first Pan-European Blockchain. Currently serving the OAM and Investor pages
We recommend docker to use Pulsar. An image is already available on dockerhub
To bring up a running container it's as simple as this:
docker run -it -p 8080:8080 eftg/pulsar
Environmental variables can be used to allow connections from a different hostname than localhost and port can be changed to default.
docker run -it --env PUBLIC_HOSTNAME="my.domain.name" -p 80:8080 eftg/pulsar
If you would like to modify, build, and run eftgexplorer using docker, it's as simple as pulling in the github repo and issuing one command to build it, like this:
git clone https://github.com/pablomat/pulsar.git
cd pulsar
docker build -t="myname/explorer:mybranch" .
docker run -it -p 8080:8080 myname/explorer:mybranch
Change the configuration file src/config.js with the symbols and rpc_node of the blockchain. (By default EFTG values are used)
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportFor a detailed explanation on how things work, check out the guide and docs for vue-loader.