gridify

command module
v0.0.0-...-171e8b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

Gridify

gopherbadger-tag-do-not-edit

A tool used to deploy projects on Threefold grid.

Usage

First download gridify binaries.

Login using your mnemonics and specify which grid network (mainnet/testnet) to deploy on by running:

gridify login

Use gridify to deploy your project and specify the ports you want gridify to assign domains to:

gridify deploy --ports <ports>

ports are your services' ports defined in Procfile

for example:

gridify deploy --ports 80,8080

gridify generates a unique domain for each service.

To get your domains for the deployed project, use the following:

gridify get

To destroy deployed project run the following command inside the project directory:

gridify destroy

Download

  • Download the binaries from releases
  • Extract the downloaded files
  • Move the binary to any of $PATH directories, for example:
mv gridify /usr/local/bin

Configuration

Gridify saves user configuration in .gridifyconfig under default configuration directory for your system see: UserConfigDir()

Requirements

  • gridify uses ginit so Procfile and env must exist in root directory of your project see: Demo
  • the project github repository must be public

Gridify Demo Project

See gridify-demo

In this demo gridify deploys a VM with flist that clones the demo project and run each service defined in Procfile. Then, gridify assign a domain for each service.

Supported Projects Languages and Tools

  • go 1.18
  • python 3.10.10
  • node 16.17.1
  • npm 8.10.0
  • caddy

Testing

For unittests run:

make test

Build

Clone the repo and run the following command inside the repo directory:

make build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmd for parsing command line arguments
Package cmd for parsing command line arguments
internal
cmd
Package cmd for handling commands
Package cmd for handling commands
config
Package config for handling user configuration
Package config for handling user configuration
deployer
Package deployer for project deployment
Package deployer for project deployment
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
repository
package repository for getting repository information
package repository for getting repository information
tfplugin
package tfplugin for threefold plugin client interface and implementation
package tfplugin for threefold plugin client interface and implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL