Skip to content

Commit

Permalink
Fix list numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Jul 5, 2023
1 parent 49ceea4 commit 12b32e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Install location using `composer require`:
composer require stevebauman/location
```

Publish the configuration file (this will create a `location.php` file inside the `config/` directory):
Publish the configuration file (this will create a `location.php` file inside the `config` directory):

```bash
php artisan vendor:publish --provider="Stevebauman\Location\LocationServiceProvider"
Expand All @@ -63,7 +63,7 @@ if ($position = Location::get()) {
}
```

> **Note**:
> **Important**:
> - This method retrieves the user's IP address via `request()->ip()`.
> - In the default configuration, `testing.enabled` is active, the returned IP address is in the USA. Disable it to get the client's real IP address.
Expand Down Expand Up @@ -96,11 +96,11 @@ you to bypass any throttling that could occur from using external web services.
To set up MaxMind to retrieve the user's location from your own server, you must:

1. Create a [maxmind account](https://www.maxmind.com/en/geolite2/signup) and sign in
3. Click "Manage License Keys" from the profile menu dropdown
4. Generate a new license key
5. Copy the license key and save it into your `.env` file using the `MAXMIND_LICENSE_KEY` key
3. Run `php artisan location:update` to download the latest `.mmdb` file into your `database/maxmind` directory
8. That's it, you're all set!
2. Click "Manage License Keys" from the profile menu dropdown
3. Generate a new license key
4. Copy the license key and save it into your `.env` file using the `MAXMIND_LICENSE_KEY` key
5. Run `php artisan location:update` to download the latest `.mmdb` file into your `database/maxmind` directory
6. That's it, you're all set!

> **Note**: Keep in mind, you'll need to update this file by running `location:update`
> on a regular basis to retrieve the most current information from your visitors.
Expand Down

0 comments on commit 12b32e4

Please sign in to comment.