The TokenD admin-panel is written on Vue v2
- Install node.js (Go to official website for the help)
- Install git (Go to git install instructions for the help)
- Clone the repository:
git clone https://github.com/tokend/admin-panel.git
- In project folder, execute:
npm install
- To start project on local server in development mode, execute:
npm run dev
- Open http://localhost:8091 in browser.
To stop local server, press Ctrl + C
in terminal.
If the remote repository was updated, you need to execute git pull
command on your local machine to get the updates. To restart the project, repeat step 4 and 5 of this instruction.
All the environment files are located in config
directory. You have to edit one of them
to change the hostnames of horizon
, api
and storage
servers and network_passphrase
dev-local.env.js
is used for the local built instancesprod.env.js
is used for the instances built for productiondefault.env.js
contains default configuration of the application and may be included and merged into other.env
files
To run the application in local development mode run npm run dev
To build the application for production run npm run build.prod