Skip to content

davidpgero/farmbot-web-frontend

 
 

Repository files navigation

Farmbot Web Frontend

This is the Javascript / HTML / CSS related to Farmbot's browser control app. It depends on a backend API (my.farmbot.io by default).

Up and Running

  1. Install node if you haven't already.
  2. git clone https://github.com/FarmBot/farmbot-web-frontend.git
  3. cd farmbot-web-frontend
  4. npm install
  5. run npm start
  6. Visit http://localhost:8080/

Deploy to Production

  1. run npm run build
  2. Upload dist/fb_frontend.min.js to your server.
  3. Add <script src="fb_frontend.min.js"> to the page at app/index.html. This is the only endpoint we support at the moment. PRs welcome.
  4. Please, raise an issue if you have any trouble setting up.

Configuration

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.

TODO

  • Set noImplicitAny: true in tsconfig.json once things stabilize.

About

The frontend (HTML, CSS, JS App)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 73.5%
  • CSS 24.9%
  • Other 1.6%