textile-go
Textile CLI, desktop app, mobile bindings, and REST API.
This repository contains a cross platform cli, desktop application, and iOS/Android mobile bindings for running a Textile node. See Textile Photos for more info.
Until Textile Photos is ready for public release, this library will be rapidly evolving.
Contributing
go get github.com/textileio/textile-go
You'll need a few different tools here to get setup...
dep
Install Golang package manager:
brew install dep
gx
Install IPFS package manager:
go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
node
Install NodeJS is used for git hooks and some build tooling:
brew install node
Install dependencies
Finally, download deps managed by gx
and dep
:
npm run setup
Commitizen
The easiest way to write a valid commit message is to use the npm
script:
npm run cm
This will start the interactive commit prompt.
Building
Build the cli based daemon:
make build
Build the iOS Framework:
make ios_framework
Desktop client
go get -u github.com/asticode/go-astitools
go get -u github.com/asticode/go-astilectron-bundler/...
go get -u github.com/asticode/go-astilectron-bootstrap/...
make build_desktop
you can now open the desktop build, stored in desktop/output/darwin-amd64
(for mac). or run it in dev mode
cd desktop/
go run *.go
Acknowledgments
Thanks to @cpacia, @drwasho and the rest of the OpenBazaar contributors for their work on openbazaar-go.
License
MIT