Farmbot-Web-App/public/README.md

1.2 KiB

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/app/login

Deploy to Production

NOTE: The Web API deployment will automatically build the latest version of the frontend and mount it in the web server. The instructions below are intended for reference purposes, or for users who wish to host their frontend code on a different server than their API.

  1. run npm run build
  2. Copy the contents of /app into your webserver so that it will be accessible via /app.
  3. Visit /app/login on your web server to verify installation.

internationalization

TODO: Write how to i18n

Issues

We can't fix problems we aren't aware of. Please let us know of any setup issues you may face. Bug reports and documentation updates are greatly appreciated!