wandc/bovibook

BoviBook 群体管理网页应用。

维护者

详细信息

github.com/wandc/bovibook

源代码

问题

安装: 18

依赖项: 0

建议者: 0

安全性: 0

星级: 4

关注者: 3

分支: 4

开放性问题: 0

类型:项目


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.