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
- Install ansible (Use version 1.7.2. Install with
sudo pip install ansible==1.7.2
). - Clone this repository, eg
git clone --recursive [email protected]:alanswx/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: git submodule init and git submodule update
- Create the instance
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, eg ssh 192.168.19.97 -l root
and the password is vagrant