Hey, I just came across this software yesterday. Im looking at running it for a local food gathering/coop.
So i spent the day yesterday wrestling with it and eventually got it running on a Digial Ocean server before finding these helpful pages.
Im going to go through a deployment run again today and highlight some issues you have that aren’t addressed in the wiki.
It is recommended that this install is run on Ubuntu Ubuntu 12.04 (64 bit). This seems to fail at numerous junctions:
From here: https://github.com/openfoodfoundation/ofn_deployment/wiki/Installation
Installation of Ansible fails as another command is need in Ubuntu 12 to allow the addition of the repository.
sudo apt-get install software-properties-common python-software-properties
After this you can add the repository, otherwise the Ansible commands fail.
Next from this page, its a dead end.
Trying this command:
ansible-playbook provision.yml
gives an error:
[WARNING]: provided hosts list is empty, only localhost is available
Next - setup a default user.
Im on a digital ocean server, there is no default user ubuntu.
Its says - You specify the user name and password user in your vars.yml file. There is no format for the password, I have tried using
user: ubuntu
password : password
Next I try running this:
ansible-playbook user.yml -i staging
and again get
[WARNING]: provided hosts list is empty, only localhost is available
So for a simple install, these scripts are missing something for the average user. Im not sure what it is, and I couldn’t figure it out. Any help would be appreciated.
At this point, I switched to using the commanda for ubuntu systems. I had similar problems with this setup but eventually got it working, I will go through these in another post.
I think this software is brilliant, and its not too hard to deploy. I would like to set it up for my country and co-op and I sure as more people hear about it they would probably like to do the same. The easier its made to do so, the more scope it will have.
Thanks for your help.