Last active
November 6, 2020 16:48
-
-
Save faddat/6ac0fe5ab85d852d763673bfc876d173 to your computer and use it in GitHub Desktop.
Starport Functional Demonstration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**DO THE FOLLOWING** | |
If it takes more than 20 minutes, let me (https://twitter.com/@gadikian) know, it means that something is wrong. | |
The Raspberry Pi image may take 15-30 minutes to build. | |
ensure that you have node.js, go and the github cli installed. | |
```bash | |
# Clone Starport Repo | |
git clone https://github.com/tendermint/starport | |
# Compile Starport | |
cd starport | |
make | |
# Generate a blockchain with no frills | |
cd build | |
./starport app github.com/yourusernamehere/instachain | |
# Add super basic blogging capabilities | |
cd instachain | |
../starport type post title body | |
git commit . -m "Added blog feature" | |
# Push to Github | |
gh login # only do this if you haven't logged in already | |
gh create | |
starport serve | |
``` | |
**THE PROCESS ABOVE** | |
1) scaffolds a fast, secure, sovereign blockchain with a simple blogging feature | |
2) scaffolds a modern UI for that chain | |
3) generates binaries on github actions | |
4) generates a raspberry Pi device image that includes the UI and binaries as a Github Action | |
5) is an illustration of the capabilities of Starport |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment