RM more cached stuff
parent
d1375232e1
commit
6df2f42922
|
@ -65,6 +65,8 @@ public/node_modules
|
|||
public/tools
|
||||
public/*.js
|
||||
public/*.json
|
||||
public/*.md
|
||||
public/*.sh
|
||||
|
||||
.vscode/
|
||||
config/database.yml
|
|
@ -1,27 +0,0 @@
|
|||
# Farmbot Web Frontend
|
||||
|
||||
This is the Javascript / HTML / CSS related to Farmbot's browser control app. It depends on a [backend API](https://github.com/FarmBot/farmbot-web-app) (my.farmbot.io by default).
|
||||
|
||||
# Up and Running
|
||||
|
||||
0. [Install node](https://nodejs.org/en/download/) if you haven't already.
|
||||
1. git clone https://github.com/FarmBot/farmbot-web-frontend.git
|
||||
2. cd farmbot-web-frontend
|
||||
3. npm install
|
||||
4. run `npm start`
|
||||
5. Visit `http://localhost:8080/app/login`
|
||||
|
||||
# Deploy to Production
|
||||
|
||||
**NOTE:** The [Web API](https://github.com/FarmBot/Farmbot-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!
|
Loading…
Reference in New Issue