bowhead icon indicating copy to clipboard operation
bowhead copied to clipboard

Apache, MySQL Questions

Open TheWaveCarver opened this issue 7 years ago • 1 comments

It appears there might be some code to control bowhead through a webserver versus the command line. Does anyone know if this is the case? If not, why is it necessary to install Apache 2.4 - which I believe is for allowing us to create a localhost. Solely to enable hosting a database via MySQL? But then at what point in the install was MySQL configured to receive information from localhost.

I realize these are pretty convoluted / novice questions. Im much more familiar with app development and am trying to gain a fuller understanding of how Apache, MySQL , the Command Line and PHP are work in together to allow bowhead to function. Not as familar with web-based applications. ANY HELP, would be appreciated - thanks.

TheWaveCarver avatar Oct 11 '17 13:10 TheWaveCarver

WebServer (or HTTP Server) like Nginx or Apache are here to provide HTTP request, here it's basicaly to provide Api HTTP request, see the routes : https://github.com/joeldg/bowhead/blob/master/routes/api.php

simple scheme : http://ae.koroglu.org/upl/595849145_1369301124_nginxphpfcgi.png

when we use comand line, we call php script directly, with no need of http

Mysql is just for storing data

vitoo avatar Nov 17 '17 09:11 vitoo