Merge pull request #255 from RickCarlino/master

Update README to explain JS_FILE_URL. Fixes #254
pull/256/head
Rick Carlino 2016-08-01 15:15:53 -04:00 committed by GitHub
commit df7a3b88e6
1 changed files with 4 additions and 3 deletions

View File

@ -40,9 +40,10 @@ The key responsibility of the API is *information and permissions management*. T
Here are some of the configuration options you must set when provisioning a new server:
* **Encryption keys**: Encryption keys will be autogenerated if not present. They can be reset using `rake keys:generate`. If `ENV['RSA_KEY']` is set, it will be used in place of the `*.pem` files. Useful for environments like Heroku, where file system access is not allowed.
* `ENV['MONGO_URL']`: URL pointing to running MongoDB instance.
* `ENV['DEVISE_SECRET']`: Used for devise. Use `rake secret` to generate a new value.
* `ENV['MQTT_HOST']`: Host (no port or slashes or anything) of running [MQTT gateway](https://github.com/FarmBot/mqtt-gateway). This is required so that Farmbot can know where to connect when given an authorization token.
* `ENV['MONGO_URL']`: URL pointing to running MongoDB instance.
* `ENV['DEVISE_SECRET']`: Used for devise. Use `rake secret` to generate a new value.
* `ENV['MQTT_HOST']`: Host (no port or slashes or anything) of running [MQTT gateway](https://github.com/FarmBot/mqtt-gateway). This is required so that Farmbot can know where to connect when given an authorization token.
* `ENV['JS_FILE_URL']`: URL pointing to the [Farmbot Frontend](https://github.com/FarmBot/farmbot-web-frontend) `bundle.js` file. This is what gets injected into the `<script>` tag when the user visits `/app`.
**We can't fix issues we don't know about.** Please submit an issue if you are having trouble installing on your local machine.