Git Product home page Git Product logo

Comments (10)

mkasberg avatar mkasberg commented on May 29, 2024 1

@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.

metalcamp avatar metalcamp commented on May 29, 2024

I would like to take over this issue. :)

from robohome-web.

dbudwin avatar dbudwin commented on May 29, 2024

That would be awesome, please let me know how I can help.

from robohome-web.

dbudwin avatar dbudwin commented on May 29, 2024

@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.

dbudwin avatar dbudwin commented on May 29, 2024

Also, if you post the logs here, I may be able to provide some idea as to what's going on.

from robohome-web.

mkasberg avatar mkasberg commented on May 29, 2024

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.

master...mkasberg:master

from robohome-web.

dbudwin avatar dbudwin commented on May 29, 2024

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.

dbudwin avatar dbudwin commented on May 29, 2024

@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.

mkasberg avatar mkasberg commented on May 29, 2024

I've never tried it, but it looks cool and might be easy to integrate.

from robohome-web.

dbudwin avatar dbudwin commented on May 29, 2024

This has been added in #119

from robohome-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.