Comments (2)
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.
-
- gBridge Web provides the interface for the Google API and the mangement web interface. Its source is in this repository under
/web
. - You need to configure your webserver to serve
/web/public/index.php
for your own gBridge URL. - mod_rewrite needs to be enable for Apache. Nginx and others might need different, special config.
- You need to copy
.env.example
to.env
in theweb
-Directory and fill in your information there.
- gBridge Web provides the interface for the Google API and the mangement web interface. Its source is in this repository under
-
- The redis worker is doing some magic in the background. It is a NodeJS application.
- Copy
config.sample.js
toconfig.js
in the/redis-worker
-directory. Fill in the appropriate information in the new config. - Now you should only need to run
npm install
andnpm start
from gbridge.
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 :
- redis-work : npm install and npm start works
- rs-work : npm install and npm start works
- web : .env file is fill up.
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 :
- how building my database (equiv docker-compose exec web php artisan migrate) ?
- why index.php is not exec ?
- do i use well "npm start" ?
Thank you for your help
from gbridge.
Related Issues (20)
- this site is down ?
- Mqtt connection via PubSubClient on ESP12/32 fails HOT 1
- Repeating messages (Spam from gbridge) HOT 1
- Fan speed setting causes a page error
- Device mode does not match
- mosquito_sub Connection Refused: not authorised. HOT 23
- Code not up to date
- Self-hosted version tutorial (w/o Docker) HOT 19
- confirmation email yet
- gBridge : status topic is not working.
- Support contact emails? HOT 6
- Turn this service into an open-source community project HOT 3
- Server Down? HOT 10
- Mqtt connection fails after working for a couple of days. HOT 1
- ColorSetting RGB documentation missing
- Cannot seem to have @ symbol in password
- Self-Hosted Linking "Invalid Redirect Request" HOT 2
- Page expired error - Account linking HOT 1
- Google Actions changed from home control to Smart Home HOT 11
- Status Topic Same for all devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gbridge.