Skip to content

Geo services based on garakh/kladrapi. Complete environment for private hosting.

License

Notifications You must be signed in to change notification settings

wizecore/geosvc

Repository files navigation

geosvc

Geo services based on garakh/kladrapi. Complete environment for private hosting.

Hardware/OS requirements

Current DB size is 15 GiB (KladrSize).

You must create VM with HDD space at least KladrSize * 3 + 10GiB = 55 GiB

To clarify:

  • 2 vCPU
  • 2 GB RAM
  • 55 GiB HDD
  • OS: Ubuntu 14.04 x64 (tested) or similar.

Installation

Prepequisites

  • Apache2, php5, php5-mongo
  • Configure php5 settings in (/etc/php5/apache/php.ini): short_open_tag = On, mbstring.internal_encoding = UTF-8
  • Mongodb (10gen)
  • Memcached
  • Sphinxsearch - Download dpkg and install
  • dbf2py - http://dbfpy.sourceforge.net
  • Phalcon

Recommended

Source

  1. Checkout this project

git clone in /var/www http://github.com/wizecore/geosvc

  1. Checkout kladrapi inside this project

git clone in /var/www/geosvc http://github.com/wizecore/kladrapi (or origin http://github.com/garakh/kladrapi)

  1. Enable kladrapi site

sudo ln -s /var/www/geosvc/apache.conf /etc/apache2/sites-available/geosvc.conf

  1. Enable cphalcon

sudo ln -s /var/www/geosvc/phalcon.ini /etc/php5/apache2/conf.d/30-phalcon.in

  1. Run ONCE to create examples user

./initmongo.sh

  1. Run first time manually

./update.sh

  1. Add to cron for daily update

echo "00 01 * * * /var/www/geosvc/update.sh" | crontab -

About

Geo services based on garakh/kladrapi. Complete environment for private hosting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published