Open ilyaroot opened 6 years ago
Sure - but probably not this week anymore.
As a short summary:
A Redis server, as well as a MQTT broker, needs to be available in your network.
gBridge consists of two main services.
/web
./web/public/index.php
for your own gBridge URL..env.example
to .env
in the web
-Directory and fill in your information there.config.sample.js
to config.js
in the /redis-worker
-directory. Fill in the appropriate information in the new config.npm install
and npm start
Hi,
Not being able to install gBridge with Docker (no error, but cannot reach URL), i'm trying to install without docker.
I have a conf file for apache2 :
<VirtualHost *:8082>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName gbridge.home
ServerAdmin webmaster@localhost
DocumentRoot /home/pi/gBridge/web/public
<Directory /home/pi/gBridge/web/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
Allow from all
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
I have three folders :
I'm blocked here : I start "npm start" in redis-work. The only thing I see is the index.php page in full text : http://127.0.0.1:8082
*/ define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Auto Loade... etc...
I ask myself several questions :
Thank you for your help
Can you provide some example how to setup self-hosted gBridge without Docker? I have all other prerequisites, like own HTTPS server with Let’s Encrypt certificate.