-
GeoIP2: an api use geoip2 offline database to provide ip's infomation https://geoip2.readthedocs.io/en/latest
download geoip2 database and extract to project root directory http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz
(optional) use the C extension for the database reader howto:https://github.com/maxmind/libmaxminddb/blob/master/README.md
-
modify the configuration of app/config.py
geoDbPath,grepStr,INTERFACE_NAME etc
-
create a mysql database, name it as config.DB_DB
python manage.py db init python manage.py db migrate python manage.py db upgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
shmilyoo/s-status-backend
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
show your server status--backend
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published