Skip to content

Files

Latest commit

 

History

History

go

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Shima server

The documentation with practical examples is available online:
https://shima-grid.com

🚀 Getting started

Prerequisites

Install:

  • Go (1.18.3 or higher)

Mac

# With homebrew
brew install go
export PATH=~/go/bin:$PATH
go env

./run.sh -i
./run.sh

Linux

# Install Go in: <directory>/go/
# Set ENV variables (.bash_aliases or ~/.zshrc)
# Example (directory = "~/Go")
export PATH=~/Go/go/bin:$PATH
export PATH=~/Go/wp/bin:$PATH
export GOPATH=~/Go/wp
go env

./run.sh -i
./run.sh

Windows

# Install cmder or run a WLS2 distribution in Windows terminal
# Install Go in         : <directory>/go/
# Create WP directory in: <directory>/wp/

# Set ENV variables
# GOPATH: <directory>/wp/
# PATH  : <directory>/wp/bin
go env

# With cmder:
sh run.sh -i
sh run.sh

👨‍💻 Usage

# Install dependencies
# * "refresh" to rebuild the go app during development
./run.sh -i

# Run in DEV/WATCH mode
./run.sh

# Test the project
./run.sh -t

# Build and install the project
./run.sh -b

# See all commands available
./run.sh -h