added ip and geoip functionality to email_manager action
This commit is contained in:
13
README.md
13
README.md
@@ -8,6 +8,7 @@ This README aims to document functionality of backend as well as required steps
|
||||
- [Location Data](#location-data)
|
||||
- [Endpoints](#endpoints)
|
||||
- [Data Load](#data-load)
|
||||
- [GeoIP Setup](#geoip-setup)
|
||||
- [Development Utils](#development-utils)
|
||||
|
||||
## First Steps
|
||||
@@ -177,6 +178,18 @@ CSV headers: `id,nombre-producto,descripcion,imagen,url,precio,gastos-envio,cond
|
||||
Only admin users have access to endoint
|
||||
|
||||
|
||||
|
||||
## GeoIP Setup
|
||||
|
||||
Module: `geoip2`
|
||||
|
||||
- Download the `GeoLite2 City` and `GeoLite2 Country` binary datasets from maxmind.com
|
||||
- Unzip files into `datasets/` folder
|
||||
- Set `settings.GEOIP_PATH` to datasets folder
|
||||
|
||||
Optional: install `libmaxminddb` C library for improved performance
|
||||
|
||||
|
||||
## Development Utils
|
||||
|
||||
### Fake product load
|
||||
|
||||
Reference in New Issue
Block a user