We are in the process of transitioning FarmBot onto SkyNet. This offloads all of our previous responsibilities into the cloud and therefore deprecates this repo.
RESTful JSON that runs the farm.
You will need to CURL for now. Eventually, there will be a graphical frontend. API docs are half way done!
We don't have a one step build yet. Sorry :(
- Clone this repo
- In terminal,
cd
into this projects root directory - Install MongoDB and run it via
mongod
- Set a secret token environment variable for the application (
export SECRET_TOKEN=STRONG_CRYPTOGRAPHIC_HASH
) bundle install
rails s
- Visit
http://localhost:3000
. You should see the server running now. - PLEASE submit an issue here if the installation does not work for you. We can't fix the things we don't know about.
Pull requests welcome! Not sure where to start? We put all todo items for this repo in the issue tracker with a todo:
heading. If you clone the repo and run rake notes
within the project, you may find other areas that are in need of refactoring.
This project uses Rspec for testing. It also uses PhantomJS for integration testing. Make sure you have PhantomJS installed before you run the test suite via rspec spec
.
- One step installer / docker container?.
- API docs
- Codebase docs
- Spin up a Heroku / AWS instance
- Implement authorization via CanCan
- Make a default login for non-technical users after installation