mdevbox

Mobile Web Devbox Platform

MIT License

Stars
1

mdevbox

Get started

  1. Clone repo

  2. Install

    yarn
    
  3. Build and Watch Web bundle

    yarn watch
    
  4. Start Log server

    npm start
    
  5. Put script tag on your website (must be first among all scripts)

    <script src="http://localhost:8000/public/client.min.js"></script>
    <script>
     new MiniLogClient({
       baseUrl: "http://localhost:8000",
       logFetch: true
     });
    </script>
    

    ⚠️ This script will override console methods, only include this on development!

  6. Make sure you have console.{log,warn,error} on your website for testing

  7. Check the logs on:

    http://localhost:8000/dashboard
    

Tips

You can use .env file, it'll be loaded by bnr script

License

MIT