Update README

pull/325/merge
Rick Carlino 2017-06-01 07:18:24 -05:00
parent c10edb4349
commit 564b14bf01
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ Your machine will need the following:
0. (optional) Verify installation with `RAILS_ENV=test rake db:create db:migrate && rspec spec`.
0. `MQTT_HOST=your_mqtt_server_domain rails s -b 0.0.0.0` where `your_mqtt_server_domain` is the IP or domain name of the MQTT server (see next step). The MQTT server does not need to be running yet.
0. Now that the API server is running, [provision an MQTT server](https://github.com/FarmBot/mqtt-gateway).
0. Initialize background workers in a seperate process: `rails jobs:work`. For production setups, this is a required step.
0. (REQUIRES NODE JS > v6) Run `./install_frontend.sh` to build the latest frontend app. You may also run the frontend on a seperate server. The [frontend repository](https://github.com/FarmBot/farmbot-web-frontend) has more info on this if you wish to do so. For most users, `./install_frontend.sh` should be sufficient.
0. Open [localhost:3000](http://localhost:3000). The application is now ready for use.
0. [Raise an issue](https://github.com/FarmBot/Farmbot-Web-API/issues/new?title=Installation%20Failure) if you hit problems with any of these steps.