Thursday, June 2, 2011

Change default web2py template

To change the default web2py template from the Welcome app to Nico's Minimal app. Copy the minimal.w2p to the root of the web2py directory, delete or backup welcome.w2p and rename minimal.w2p to welcome.w2p.

Courtesy of Nico.

Instructions for the web2py package coming soon...

Wednesday, June 1, 2011

Testing 6/1/11

Running an imported package
You cannot just copy an application from one web2py installation to teaching-mode-web2py. You must package it an import it.
Only the admin can see the app even if another user imported it and even then only the admin can run it, not edit.

I've encountered a problem which I am going to try to see if I can reproduce where trying to access the admin interface I encounter a redirect loop. This occurs in both Firefox and Chrome but is remedied by clearing the cookies.

I also lost all of my test users from yesterday. The teacher was fine though. I have no idea on how it happened.

As a suggestion the teacher should at least be able to uninstall a student's apps if not given full control.

Tuesday, May 31, 2011

Testing 5/31/11

I'll figure out better titles for these posts later but for now...

I created three users. Me and two test users. I was the first user to register. So what I have learned so far...

The first user can see any apps that the test users create, the test users can only see their own apps and the teacher cannot edit the student apps (whether they should be able to I need to find out).

Jeff gave me some apps to test. I copied them to the applications directory and they appear in the admin interface but when I try to run them it gives me an error.

When a student creates an app and then uninstalls it. The app is removed from the applications directory but left in the applist.

First day of Senior Experience

Yaaaaayyy

Well it's time to get serious about Web2py (not to say I haven't been already...). I'll be spending 30 hours a week for 3 weeks at the Arlington Career Center where I will be working with Nico and fellow students on web2py (teaching mode). That's the basic goal. I'm sure some other problems will arrive on the way.