wandc/bovibook

The BoviBook Herd Management Web App.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 3

Open Issues: 0

Type:project


README

Welcome to BoviBook

This is a dairy herd management web app. 

See: https://github.com/wandc/bovibook/wiki

Install on Amazon EC2 instance:

Choose Linux Ubuntu for OS.

#sudo apt-get install php7.0 apache2
#sudo apt-get install composer
#sudo apt-get install curl
#sudo apt-get install php libapache2-mod-php
#sudo apt-get install php7.2-gd
#sudo apt-get install php7.0-mbstring
#sudo apt-get install php7.0-zip
#sudo apt-get install php-pgsql
#sudo apt install postgresql postgresql-contrib
#sudo apt-get install php7.0-curl

Setup PostgreSQL
Follow instructions here:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04


#cd /var/www/html

#sudo composer create-project wandc/bovibook:dev-master
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]?
YES

CHANGE PERMISSION on bovibook dir 744? check

go edit apache2 config

 sudo nano /etc/apache2/sites-enabled/000-default.conf

change line:
 DocumentRoot /var/www/html/
toL:
 DocumentRoot /var/www/html/bovibook

restart apache

sudo systemctl restart apache2

If everything went well you can go to your URL and should see bovibook login.

If you do not, go check less /var/log/apache2/error.log for errors

Currently we bovibook uses HTML_QuickForm. This is deprecated and does not work directly with php7. We use a composer version that has been patched.