This is the Javascript / HTML / CSS related to Farmbot's browser control app. It depends on a backend API (my.farmbot.io by default).
- Install node if you haven't already.
- git clone https://github.com/FarmBot/farmbot-web-frontend.git
- cd farmbot-web-frontend
- npm install
- run
npm start
- Visit
http://localhost:8080/
- run
npm run build
- Upload
dist/fb_frontend.min.js
to your server. - Add
<script src="fb_frontend.min.js">
to the page atapp/index.html
. This is the only endpoint we support at the moment. PRs welcome. - Please, raise an issue if you have any trouble setting up.
All config is in the user auth token. There's no need to point to an MQTT URL or a particular bot. That information is contained in your auth token.
- Set
noImplicitAny: true
intsconfig.json
once things stabilize.