简体   繁体   中英

Rails - Where I have to store data file (.dat) in my rails project - GeoIp City database

I just have a simple question about organisation. I use MaxMind GeoIP solution and download the following file: GeoLiteCity.dat For now, I store it in db/ but I would like to know where I have to store this kind of db?

Thanks a lot!

通常它们只是文本文件,因此只要您的脚本可以访问它,您就可以将I存储在任何位置。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM