Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
akyoto committed Jun 23, 2018
1 parent 7aa7612 commit eb84799
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,30 @@

Study Kanji by testing your own vocabulary list.

## Installation

Install the pre-requisites:

```
npm install -g typescript
go get golang.org/x/tools/cmd/goimports
go get github.com/aerogo/pack
```

Clone the repo:

```
go get github.com/konnakanji/konnakanji
```

Run TypeScript compiler:

```
tsc
```

Use the [run](https://github.com/aerogo/run) command to start the server.

[godoc-image]: https://godoc.org/github.com/konnakanji/konnakanji?status.svg
[godoc-url]: https://godoc.org/github.com/konnakanji/konnakanji
[goreportcard-image]: https://goreportcard.com/badge/github.com/konnakanji/konnakanji
Expand Down
5 changes: 1 addition & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ func main() {
}

func configure(app *aero.Application) *aero.Application {
app.Security.Load(
"security/default/server.crt",
"security/default/server.key",
)
app.Security.Load("security/server.crt", "security/server.key")

appCode := func(ctx *aero.Context) string {
return ctx.HTML(components.Layout(ctx))
Expand Down

0 comments on commit eb84799

Please sign in to comment.