Those are the issues I have faced during setup. If you have faced similar issues and have fixed please leave a comment or suggestion how to solve it.
openfoodnetwork
-
readline
lib installed viahomebrew
. So I had to userb-readline
gem to makecapybara-screenshot
work inside integrations tests. But seems thatbrew install with-readline
did the trick. -
wkhtmltopdf-binary
gem is out of date and fails in test and dev environemts for generating pdfs. - Sometimes failing time sensitive integration tests if application.yml has Australian timezone and local machine’s headless browser has i.e. UTC timezone. 9 hours difference moves up to next day and search filters fail.
- From https://github.com/openfoodfoundation/openfoodnetwork/wiki/Karma by all istructions karma binary goes into
./node_modules/.bin/karma
.npm install -g
doesn’t install all dependencies globaly. - During /checkout I get
undefined method 'tags_list'
. Addingacts_as_taggable_on
into Spree::Variant decorator seemed to help. - Spree Administration - Enterprise state/country options - unrelated fields use two different settings from
application.yml
. Meaning that user might see US states within Australia country which is not valid.
ofn-install on OSX/Vagrant/Ansible
- There is no root user for vagrant and that is hardcoded as
remote_user: root
inplaybooks/provision.yml
- Ansible does not install
letsencrypt
. Seems that apt doesn’t know about it.