Skip to content

Commit

Permalink
Merge pull request #5 from srea/feature/update-readme
Browse files Browse the repository at this point in the history
[ci skip]  update Readme
  • Loading branch information
srea committed Dec 3, 2019
2 parents 90fa597 + 94e5894 commit 5d9b1e4
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,26 @@
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
# RIBsTreeViewer

![](./docs/logo.png)

Real Time viewing attached RIBs Tree on Browser

# Carthage
## Demo

![](./docs/demo.gif)

## Carthage

## Cartfile
### Cartfile

```shell
github "srea/RIBsTreeViewerClient"
```

## Build Phase
### Build Phase

![](./docs/Carthage_BuildPhase.png)
![](./docs/Carthage_Embedded.png)

Carthage CopyFrameworks (ONLY DEBUG)

Expand All @@ -22,7 +31,7 @@ Carthage CopyFrameworks (ONLY DEBUG)
fi
```

## Implementation
### Implementation

```swift
#if DEBUG
Expand Down Expand Up @@ -61,17 +70,31 @@ extension AppDelegate {
#endif
```

# WebSocket Server
## WebSocket Server

```shell
$ yarn install
$ node index.js
```

# Browser
## Browser

```shell
$ yarn install
$ npx webpack
$ open ./public/index.html
```

## Options

### .webSocketURL

```swift
#if DEBUG
if #available(iOS 13.0, *) {
ribsTreeViewer = RIBsTreeViewerImpl.init(router: launchRouter,
option: [.webSocketURL: "ws://0.0.0.0:8080"])
ribsTreeViewer?.start()
}
#endif
```
Binary file added docs/Carthage_BuildPhase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Carthage_Embedded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5d9b1e4

Please sign in to comment.