Document running example server and move server directory.

This commit is contained in:
Dylan Vann 2017-04-18 01:45:28 -04:00
parent 73543df320
commit 2b73f9f514
9 changed files with 24 additions and 0 deletions

View File

@ -2,3 +2,4 @@ ios/FastImage/Libraries/SDWebImage/.git*
ios/FastImage/Libraries/SDWebImage/Examples
ios/FastImage/Libraries/SDWebImage/Tests
example
server

23
example/README.md Normal file
View File

@ -0,0 +1,23 @@
# FastImage Example
FastImage example app showing usage and comparing against `Image`.
## Running FastImage Example
```bash
git clone https://github.com/DylanVann/react-native-fast-image
cd react-native-fast-image
yarn
# Starting the image server.
cd server
yarn
yarn start
# In another terminal.
# Starting the example app.
cd example
yarn
react-native run-ios
```

View File

Before

Width:  |  Height:  |  Size: 16 MiB

After

Width:  |  Height:  |  Size: 16 MiB

View File

Before

Width:  |  Height:  |  Size: 12 MiB

After

Width:  |  Height:  |  Size: 12 MiB

View File

Before

Width:  |  Height:  |  Size: 8.9 MiB

After

Width:  |  Height:  |  Size: 8.9 MiB

View File

Before

Width:  |  Height:  |  Size: 6.8 MiB

After

Width:  |  Height:  |  Size: 6.8 MiB