install following packages:
go get github.com/abbot/go-http-auth
go get github.com/gorilla/sessions
go get github.com/lib/pq
go get github.com/go-sql-driver/mysql
- Go to you project root
- Run the command:
go build
There will be file "go-modular"
- Go to your project root
- Run the command:
./go-modular
- Open browser and type: http://localhost:9002
-
Install dependencies:
npm install
1.1 If you don't have npm, install the node (https://nodejs.org/)
-
Run the project:
grunt start
Grunt will restart project in any time, when the go files(*.go) have been changed