Skip to content

Instantly share code, notes, and snippets.

@faddat
Last active November 6, 2020 16:48
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faddat/6ac0fe5ab85d852d763673bfc876d173 to your computer and use it in GitHub Desktop.
Save faddat/6ac0fe5ab85d852d763673bfc876d173 to your computer and use it in GitHub Desktop.
Starport Functional Demonstration
**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