This repository is intended for software developers who wish to modify the frontend of the FarmBot Web App or host it on their own server. If you are not a developer, you are highly encouraged to use the free hosted web app at my.farmbot.io.
If you would like to report a problem with the web app, please submit an issue.
This is the Javascript / HTML / CSS of the FarmBot web app. It depends on a backend API (my.farmbot.io by default).
LATEST STABLE VERSION IS HERE ⭐ ⭐ ⭐
- Install node if you haven't already.
- Install Google Chrome for best app experience.
git clone https://github.com/FarmBot/farmbot-web-frontend.git
cd farmbot-web-frontend
npm install
npm start
- Visit http://localhost:8080/app/login
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.
- run
npm run build
- Copy the contents of
/app
into your webserver so that it will be accessible via/app
. - Visit
/app/login
on your web server to verify installation. - Submit an issue if you hit problems during the installation.
Thanks for your interest in internationalizing the FarmBot web app! To add translations:
- Fork this repo
- Create a
yy.js
file in/public/app-resources/languages/
whereyy
is your language's language code. Eg:ru
for Russian. If your language already has a file, then you can skip this step. - Search the application for calls to
t()
. Any file that importsfrom "i18next"
will have strings that require translation. - When you have updated or added new translations, commit/push your changes and submit a pull request.