Skip to content

r0fls/reinhardt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

reinhardt

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.

Quick setup

go get github.com/r0fls/reinhardt
go install github.com/r0fls/reinhardt
reinhardt new <projectname>
cd <projectname>
go install
<projectname> runserver

Overview

Installation

go get github.com/r0fls/reinhardt
go install github.com/r0fls/reinhardt

Starting a new project

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

Compiling a project

From within the project type:

go install

Running a project

<projectname> runserver

TODO:

  • Complete models
  • URL parameters

About

Golang web MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published