1.1.38 • Published 4 years ago
@elastosfoundation/trinity-cli v1.1.38
Initial setup (for node dependencies)
npm install
Development run command
npm getepksigner
(from the cli/ folder - only the first time (no bin folder) or to get new versions of the epksigner)npm run devprepare && cd dapptestcode/ && ../bin/trinity xxxx
(from the dapp folder (for run command) )npm run getepksigner
- To get EPK signer dependency libraries (first time, or when an EPK signer update is needed)
Publishing account
- Organization: @elastosfoundation
- Owner: @benjaminpiette
How to publish to npmjs.com
npm adduser
(once)npm login
(once)- Increase version number in package.json
npm run prepublish
npm publish --access=public
How to install this tool (for DApp developers)
npm install -g @elastosfoundation/trinity-cli
Dependencies to run the CLI (for DApp developers)
- MacOS or Linux operating system
- python
- adb (Android tool)
- ionic/node/angular (to create new ionic app)
- Trinity app installed on android (to be able to deploy EPKs)
How to execute this tool (for DApp developers)
trinity-cli
Examples
- Deploy a DApp on an android device:
trinity-cli run -p android
Frequent issues
Network not reachable using trinity run
Can happen in case the mobile device or the computer are connected to a VPN. Disable the VPN during development or find a way to let your VPN not manage local ips.
1.1.38
4 years ago
1.1.37
4 years ago
1.1.36
5 years ago
1.1.35
5 years ago
1.1.34
5 years ago
1.1.33
5 years ago
1.1.32
5 years ago
1.1.31
5 years ago
1.1.30
5 years ago
1.1.29
5 years ago
1.1.28
5 years ago
1.1.27
5 years ago
1.1.26
5 years ago
1.1.25
5 years ago
1.1.24
5 years ago
1.1.23
5 years ago
1.1.22
5 years ago
1.1.21
5 years ago
1.1.20
5 years ago
1.1.19
5 years ago
1.1.18
5 years ago
1.1.17
5 years ago
1.1.16
5 years ago
1.1.15
5 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago