Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
add help info
Browse files Browse the repository at this point in the history
  • Loading branch information
e154 committed Oct 11, 2015
1 parent 0b22792 commit 9625a87
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ git clone git@github.com:e154/mds-club.git
cd mds-club
make clean && make
```

#### Запуск после сборки

```bash
cd build
./mds
```

на выходе получаем deb пакет, который устанавливаем системным пакетным менеджером.

#### Зависимости
Expand Down
14 changes: 12 additions & 2 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ import (
// "./models"
"./webserver"
_ "./parser"
// "fmt"
"fmt"
)

const (
major int = 0
minor int = 1
patch int = 0
address string = "127.0.0.1:8080"
)

func Run() {

webserver.Run("127.0.0.1:8080")
fmt.Printf("MDS client v%d.%d.%d\n", major, minor, patch)
fmt.Printf("Start server on http://%s\n", address)

webserver.Run(address)

for {}
}

0 comments on commit 9625a87

Please sign in to comment.