This attempts to use the ansible script from the (https://github.com/GSA/ckanext-geodatagov) GSA CKAN repository to make a dev setup.
- Install the latest Virtualbox
- Install the lastest vagrant
- Install [pip] (https://pip.pypa.io/en/latest/installing.html), or
$ sudo easy_install pip
- Once PIP is installed, follow with ansible, or
$ sudo pip install ansible
- Clone this repository, e.g.
$ git clone --recursive clone git://github.com/ckan-vagrant-geodatagov.git
- Move to the directory with your terminal application
$ cd ckan-vagrant-geodatagov
- Make sure the submodule is there, if you didn't use recursive, then do the following:
$ git submodule init
- then,$ git submodule update
- Create the instance with VirtualBox with this command:
$ vagrant up
- Go get some coffee (it takes a few minutes)
- Add to following line to
/etc/hosts
on your local machine:192.168.19.97 ckan.lo
- Open http://ckan.lo in your browser.
You can log into your machine with the vagrant ssh
command which will use keys that are autogenerated. That's the easiest way, but you should also be able to use standard ssh with a username and password: $ ssh 192.168.19.97 -l root
- the password is vagrant