Skip to content

Commit 1a374ad

Browse files
authored
what‘s new in 2.0.0
1 parent 04e9371 commit 1a374ad

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
- [x] Download database.
1616

1717

18+
# <span style="color:red">Release 2.0.0:</span>
19+
* **Replace CocoaAsyncSocket with GCDWebServer, which is higher level server that more convenient.**
20+
* **Satisfy with Firefox, Safari, Chrome.**
21+
* **Use bonjourname as the server address, for example: http://y500.local, http://macbook.local:9002...**
22+
* **print link address and bonjour name of the server in the console**
23+
24+
1825
# Installation
1926

2027
#### Podfile
@@ -93,7 +100,7 @@ for example:
93100
```objc
94101
NSString *resourceDirectory = [[NSBundle mainBundle] resourcePath];
95102
NSString *databaseDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/database"];
96-
NSString *documentDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documnets"];
103+
NSString *documentDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents"];
97104
NSString *cacheDirectory = [NSHomeDirectory() stringByAppendingPathComponent:@"Library/Cache"];
98105
[[DebugDatabaseManager shared] startServerOnPort:9002 directories:@[resourceDirectory, databaseDirectory, documentDirectory, cacheDirectory]];
99106
```
@@ -131,6 +138,15 @@ Important:
131138
- If you use Simulator you can use address: http://127.0.0.1:9002.
132139
- the port must be same as you write in Appdelegate.m
133140

141+
###other more:
142+
143+
you can find the address and bojourname address in the console like below:
144+
```
145+
[INFO] DebugDatabaseManager started on port 9002 and reachable at http://192.168.0.67:9002/
146+
[INFO] DebugDatabaseManager now locally reachable at http://y500.local:9002/
147+
```
148+
149+
134150
### License
135151
```
136152
Copyright (C) 2016 y500

0 commit comments

Comments
 (0)