Geosite Server, Version 1.x (geosite-server)
To set up a development environment, use the geosite-ansible Ansible project. Follow the installation instructions from the Ansible website to set up Ansible on your host machine.
First, clone the repo into your local environment.
git clone https://github.com/wfp-ose/geosite-ansible.git geosite-ansible.git
# or
git clone [email protected]:wfp-ose/geosite-ansible.git geosite-ansible.git
Then, configure your local Vagrantfile and Ansible vars for your environment.
Then, to deploy, simply run vagrant up within the directory.
# cd into geosite-ansible directory
vagrant up
If you need to re-provision for any idea, just run vagrant provision and the ansible script will run again.
# cd into geosite-ansible directory
vagrant provision
By default, the guest server's web UI is available on port 8000 (http://localhost:8000/) and PostGIS is available on port 5432 with db / user / pass (geosite / geosite / geosite).
To launch memcached, use supervisor:
To launch the server, run:
To restart services, use supervisor. Run: