A ruby application with an admin panel to create tasks which are then formatted into a table to be displayed in Panic's Statusboard app (http://panic.com/statusboard/)
Requires PostgreSQL with a database named statusboard-tasks. User who is running the ruby application should have correct permissions to access the database (otherwise adjust the postgres URL in app.rb and Rakefile so it looks like this: postgres://USERNAME:PASSWORD@localhost/statusboard-tasks)
- Install the required dependencies
bundle install - Create required tables
rake migrate - Create an admin user (change username and password)
rake 'create_admin[USERNAME, PASSWORD]' - Run app,
bundle exec shotgun -O config.ru - Navigate to http://localhost:9393/admin
- Login with your username and password
- Create a project and tasks, get the URL for the project e.g http://localhost:9393/1/tasks
- Make sure that URL is accessible from the iPad. If not run the application on a different IP with the following command
bundle exec shotgun -O config.ru -oIPADDRESS - Then replace localhost in the URL so it looks like http://IPADDRESS:9393/1/tasks, if a domain resolves to that IP then you can replace IPADDRESS with your domain name in the URL.
- Open Panic's statusboard on your iPad and add a table element, fill out the URL with the one you found earlier.
- Done and enjoy!
This was a quick hack for a simple tasks list on Statusboard. Feel free to fork the project, create a proper admin panel if you have frontend skills and time! Or add cool new features :-)
Also this will work with multiple task lists, so statusboard can display multiple lists off this one Ruby application. Just adjust the number in the URL to reflect the ID of the project.
Feel free to contact me @Will3942 or will@will3942.com
~Will Evans