1.1.38 • Published 3 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
3 years ago
1.1.37
3 years ago
1.1.36
3 years ago
1.1.35
3 years ago
1.1.34
4 years ago
1.1.33
4 years ago
1.1.32
4 years ago
1.1.31
4 years ago
1.1.30
4 years ago
1.1.29
4 years ago
1.1.28
4 years ago
1.1.27
4 years ago
1.1.26
4 years ago
1.1.25
4 years ago
1.1.24
4 years ago
1.1.23
4 years ago
1.1.22
4 years ago
1.1.21
4 years ago
1.1.20
4 years ago
1.1.19
4 years ago
1.1.18
4 years ago
1.1.17
4 years ago
1.1.16
4 years ago
1.1.15
4 years ago
1.1.14
4 years ago
1.1.13
4 years ago
1.1.12
5 years ago
1.1.11
5 years ago
1.1.10
5 years ago
1.1.9
5 years ago
1.1.8
5 years ago
1.1.7
5 years ago
1.1.5
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago