https://github.com/antonybudianto/mdevbox
Mobile Web Devbox Platform
https://github.com/antonybudianto/mdevbox
devbox logging monitoring tools
Last synced: 5 months ago
JSON representation
Mobile Web Devbox Platform
- Host: GitHub
- URL: https://github.com/antonybudianto/mdevbox
- Owner: antonybudianto
- License: mit
- Created: 2019-04-23T14:54:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:17:18.000Z (almost 3 years ago)
- Last Synced: 2025-02-10T07:43:55.257Z (10 months ago)
- Topics: devbox, logging, monitoring, tools
- Language: JavaScript
- Homepage:
- Size: 1.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mdevbox
## Get started
1. Clone repo
2. Install
```sh
yarn
```
3. Build and Watch Web bundle
```sh
yarn watch
```
4. Start Log server
```sh
npm start
```
5. Put script tag on your website (must be first among all scripts)
```html
new MiniLogClient({
baseUrl: "http://localhost:8000",
logFetch: true
});
```
> :warning: 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