This is a golang MVC modeled loosely off of Django.
These steps assume you have your shell's GOPATH
properly configured, and your bin
directory properly exported to your PATH
. See here if that's not the case.
go get github.com/r0fls/reinhardt
go install github.com/r0fls/reinhardt
reinhardt new <projectname>
cd <projectname>
go install
<projectname> runserver
go get github.com/r0fls/reinhardt
go install github.com/r0fls/reinhardt
reinhardt new <projectname>
cd <projectname>
At which point you'll have a folder named projectname
with the following structure:
projectname
├─settings.json
├─manager.go
├─app
│ └─urls.go
│ └─views
│ └─views.go
│ └─models
│ └─models.go
│ └─temps
│ └─home.html
From within the project type:
go install
<projectname> runserver
- Complete models
- URL parameters