Quick Start
One page summary of how to start a new IRIS-ADMIN project.
Requirements
IRIS-ADMIN is golang project:
- Download and install golang (it includes go) for your platform.
Get package
go get -u github.com/snowlyg/[email protected]
Create a directory and Change directories
mkdir site
cd site
Create a new file on site
main.go
:
package main
import (
"path/filepath"
"github.com/snowlyg/iris-admin/server/web"
"github.com/snowlyg/iris-admin/server/web/web_gin"
)
func main() {
wi := web_gin.Init()
web.Start(wi)
Install dependencies
go mod tidy
Start development server
go run main.go
IRIS-ADMIN will start the Hugo development webserver accessible by default at http://localhost:8085/v0/versions
. Saved changes will live reload in the browser.
Other commands
IRIS-ADMIN comes with commands for common tasks. Commands →