Quick Start

One page summary of how to start a new IRIS-ADMIN project.


IRIS-ADMIN is golang project:

  • Download and install golang (it includes go) for your platform.

Get package

  go get -u github.com/snowlyg/iris-admin@latest

Create a directory and Change directories

mkdir site
cd site

Create a new file on site

  • main.go :
package main

import (

func main() {
	wi := web_gin.Init()

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 →