Comments (10)
@metalcamp are you still working on this? I got something almost working: https://github.com/mkasberg/RoboHome-Web/commit/1180ae1aad7f2959dabf757591c713fc6dc70f9d
In my setup, the web server is throwing 500s and I don't understand why yet. Does anyone know where the application is configured to log by default, or how I can reconfigure the log destination?
from robohome-web.
I would like to take over this issue. :)
from robohome-web.
That would be awesome, please let me know how I can help.
from robohome-web.
@mkasberg The application sends logs to RoboHome-Web/storage/logs/
directory.
I looked at your branch real quick, and I wonder if you could save some effort on creating your own DB schema by running the migrations already in this project by executing php artisan migrate
command. See this for more detail: https://laravel.com/docs/5.5/migrations#running-migrations
from robohome-web.
Also, if you post the logs here, I may be able to provide some idea as to what's going on.
from robohome-web.
OK, I got past several more problems. Still throwing 500s, but for a different reason now. I did switch to php artisan migrate
; it works well.
Now getting:
(1/1) ErrorException Object of class Illuminate\Session\SessionManager could not be converted to string
--
in Str.php (line 331)
at HandleExceptions->handleError(4096, 'Object of class Illuminate\\Session\\SessionManager could not be converted to string', '/var/www/html/vendor/laravel/framework/src/Illuminate/Support/Str.php', 331, array('search' => '?', 'replace' => object(SessionManager), 'subject' => 'select * from `users` where `user_id` = ? limit 1', 'position' => 40))
Maybe it's due to an empty database? I'm stopping here for now but I can play with it some more later.
from robohome-web.
Thanks for the feedback. I'll look into it this afternoon! The migration should create a suitable database for running the application.
from robohome-web.
@mkasberg I was doing some Googling and I was curious if you've used Laradock in the past?
It seems promising and like it could be a good way to move forward with this. It seems fairly straightforward to use if we added it as a submodule to this project.
Thoughts?
from robohome-web.
I've never tried it, but it looks cool and might be easy to integrate.
from robohome-web.
This has been added in #119
from robohome-web.
Related Issues (20)
- Change 'id' to 'deviceId' for turnOn and turnOff API methods HOT 2
- Make controlling devices with IFTTT possible
- Add Dusk tests for devices page
- More consistent use of PHP return types HOT 7
- More consistent use of Faker values
- Create better way to check if user owns a device HOT 18
- Add support for Google Home
- Add support for passing MQTT messages over TLS HOT 1
- Type hint LoginController's index method HOT 14
- Design a logo for RoboHome HOT 9
- Upgrade from version 2 to 3 of the Amazon Skills API
- Add support for HHVM to Travis HOT 4
- Create 404 error page that matches the site HOT 7
- API should publish pulse length for RF devices HOT 1
- Add RoboHome logo to upper left-hand corner of all pages
- Add confirmation after clicking "Delete" button
- Add static fixed footer to bottom of page HOT 7
- docker-compose failing due to container name mismatch HOT 2
- Disallow creating duplicate 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 robohome-web.