Archive for June, 2009
So we are all set to improve the quality of our coding.
As of June 18, 2009 we have our new home at http://www.markusproject.org. On this server there is a MarkUs demo app running which is reachable at: http://demo.markusproject.org. This is our official MarkUs demo instance. Feel free to have a look and play with it.
The database is usually populated with some exemplary data. To log in as an instructor (the type of user with greatest privileges), use ‘a’ as username and any non-empty password. If you’d like to see what student users of MarkUs would see, look up a student username in the “Users” tab and log in with any one of those (again using any non-empty password). Getting to see the view what graders/TAs usually see use the username of some configured TA.
Here is an example CSV-file which could be used to import some student users.
Please note, however, that the demoserver will be reset once a day (usually at 2:00 am EDT). Also, since the running version of MarkUs is most probably still in development, things might break. If that happens, please feel free to file a ticket at http://github.com/Markusproject/Markus/issues.
If you have questions, concerns or other feedback please feel free to contact us at email@example.com or drop by on IRC. We are in #markus on irc.freenode.net.
Thanks and have fun!
These last few days, I have been looking at our tests.
Due to all the changes we made the last months, most of the tests didn’t work at all. They refered to none existing properties, methods or fixtures. I tried to fix them all, and now, the major part of our unit tests work, and pass.
I ran into a small problem: I first ran all the tests one by one, with the command:
ruby -I test test/unit/name_of_the_file.rb
34 files only for the unit test, so 34 times this line. The command
launches all the test at once. For now, it launches 99 tests, has 138 assertions, and 2 errors, then it aborts…
Still some work to do!
Last week, Mike recorded our first screencast of OLM, now renamed Markus.
We got a bit of trouble, finding a way to post it here, as it is a swf format: we couldn’t upload it directly on the blog.
Finally, we found a solution. Karen uploaded it on another server, and here is the link:
Today, we got a pretty awesome cursory code review from Mike Gunderloy.
One thing he suggested, was that we switch from running a sloppy Ruby script to seed our database with initial data, to something like seed_fu.
So, how do we install Seed_fu? It took me a while to figure it out, actually, since I’d never installed a Rails plugin from GitHub before.
Anyhow, here’s how you do it:
From your application root:
script/plugin install git://github.com/mbleigh/seed-fu.git