README.md updated according to new packagist.org package.

This commit is contained in:
Alexey Skobkin 2017-09-05 05:04:56 +03:00
parent 39f9d3bf1e
commit fceaca6d02
1 changed files with 8 additions and 5 deletions

View File

@ -5,14 +5,17 @@
## Installation
```bash
# For production usage
composer install -o
# For development
composer install
# For usage (from Packagist)
composer create-project skobkin/ip-detect
# For development (from Git)
git clone git@bitbucket.org:skobkin/ip-detect.git
cd ip-detect && composer install
```
## Running
```bash
# From the project root directory
php -S localhost:8000 -t public public/index.php
```
```