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 ## Installation
```bash ```bash
# For production usage # For usage (from Packagist)
composer install -o composer create-project skobkin/ip-detect
# For development # For development (from Git)
composer install git clone git@bitbucket.org:skobkin/ip-detect.git
cd ip-detect && composer install
``` ```
## Running ## Running
```bash ```bash
# From the project root directory
php -S localhost:8000 -t public public/index.php php -S localhost:8000 -t public public/index.php
``` ```