Getting started with aah

It is very easy to start and work with aah. Let’s make sure you have Go environment ready.

Table of Contents

Installing aah CLI and framework

macOS

# installing aah CLI
brew install go-aah/tap/aah

# installing aah framework in GOPATH
go get -u aahframework.org/aah.v0

go get

go get install aah CLI as well as framework in $GOPATH.

# aah requires ≥ go1.8
go get -u aahframework.org/tools.v0/aah

Verify aah CLI

Checking aah CLI version. Learn more about aah CLI.

aah --version

# Output
cli v0.12.0
aah v0.11.0
go  v1.10.1

Congratulations, you have successfully installed aah CLI and framework and it’s ready to use :).

Creating first aah application

It is very easy to use aah framework CLI tool. Learn more about aah CLI using aah help.

Running aah application

aah run --importpath github.com/jeevatkm/aah-first-app

Open up the browser then navigate to address http://localhost:8080 to see aah application in action.


You will see a page like:

aah first app