ODK Manage setup - variation in src vs. wiki

Having issues getting 'odk manage' running.

The 'odk manage' wiki page differes from the src as shown below. Does
the src .java file need to be edited - or not.

example:
3.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and insert your
appengine application name in the Application field.
4.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and edit the list
of allowed users in the allowedUsers system property. This is a
comma-, space- or semicolon- delimited list of email addresses. An
attempt is made to sanity-check the list for badly-formed e-mails upon
receipt of the first well-formed request to the Manage server. If any
email address in the list is invalid, all access to the server will be
denied.
5.In the terminal, go to the folder where you installed the Google App
Engine SDK (it will probably be called google_appengine). Type .
\appcfg.cmd update {odk-manage}\war in Windows or ./appcfg.sh update
{odk-manage}/war in Unix/Mac. You will be prompted for your gmail
address and password. After entering them, it should successfully
install the ODK Manage Server.

versus this from the "readme.html" found in the src tree:
http://code.google.com/p/opendatakit/source/browse?repo=manage#hg/doc

mitch is the expert on manage, but i think the wiki is more up to date.

to help with the troubleshooting, can you more clearly describe what
isn't working? is the war not deploying? are you getting error
messages?

··· On Tue, Sep 28, 2010 at 18:48, pjludwig wrote: > Having issues getting 'odk manage' running. > > The 'odk manage' wiki page differes from the src as shown below. Does > the src .java file need to be edited - or not. > > example: > 3.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and insert your > appengine application name in the Application field. > 4.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and edit the list > of allowed users in the allowedUsers system property. This is a > comma-, space- or semicolon- delimited list of email addresses. An > attempt is made to sanity-check the list for badly-formed e-mails upon > receipt of the first well-formed request to the Manage server. If any > email address in the list is invalid, all access to the server will be > denied. > 5.In the terminal, go to the folder where you installed the Google App > Engine SDK (it will probably be called google_appengine). Type . > \appcfg.cmd update {odk-manage}\war in Windows or ./appcfg.sh update > {odk-manage}/war in Unix/Mac. You will be prompted for your gmail > address and password. After entering them, it should successfully > install the ODK Manage Server. > > versus this from the "readme.html" found in the src tree: > http://code.google.com/p/opendatakit/source/browse?repo=manage#hg/doc

The wiki is more current. I found it absurd that you had to set up a
development environment and recompile the code to change access
restrictions, so I checked in a change to look for a property in the config
instead. Opened a ticket about the out-of-date instructions
http://code.google.com/p/opendatakit/issues/detail?id=125

If you want to update the readme.html to reflect the wiki or just reference
it, send me the update and I'll review and check it in.

Mitch

··· On Wed, Sep 29, 2010 at 8:32 AM, Yaw Anokwa wrote:

mitch is the expert on manage, but i think the wiki is more up to date.

to help with the troubleshooting, can you more clearly describe what
isn't working? is the war not deploying? are you getting error
messages?

On Tue, Sep 28, 2010 at 18:48, pjludwig pjludwig@natlsec.com wrote:

Having issues getting 'odk manage' running.

The 'odk manage' wiki page differes from the src as shown below. Does
the src .java file need to be edited - or not.

example:
3.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and insert your
appengine application name in the Application field.
4.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and edit the list
of allowed users in the allowedUsers system property. This is a
comma-, space- or semicolon- delimited list of email addresses. An
attempt is made to sanity-check the list for badly-formed e-mails upon
receipt of the first well-formed request to the Manage server. If any
email address in the list is invalid, all access to the server will be
denied.
5.In the terminal, go to the folder where you installed the Google App
Engine SDK (it will probably be called google_appengine). Type .
\appcfg.cmd update {odk-manage}\war in Windows or ./appcfg.sh update
{odk-manage}/war in Unix/Mac. You will be prompted for your gmail
address and password. After entering them, it should successfully
install the ODK Manage Server.

versus this from the "readme.html" found in the src tree:

http://code.google.com/p/opendatakit/source/browse?repo=manage#hg/doc

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.com

Somewhat related:
I am new to googleAppEngine & noted there was no app.yaml file in the prebuilt war tree.
Can you provide an example? I have tried what I thought would be correct but have failed.

Cheers
p

··· From: opendatakit-developers@googlegroups.com [mailto:opendatakit-developers@googlegroups.com] On Behalf Of Mitch Sundt Sent: Wednesday, September 29, 2010 1:08 PM To: opendatakit-developers@googlegroups.com Subject: Re: [ODK Developers] ODK Manage setup - variation in src vs. wiki

The wiki is more current. I found it absurd that you had to set up a development environment and recompile the code to change access restrictions, so I checked in a change to look for a property in the config instead. Opened a ticket about the out-of-date instructions http://code.google.com/p/opendatakit/issues/detail?id=125

If you want to update the readme.html to reflect the wiki or just reference it, send me the update and I'll review and check it in.

Mitch
On Wed, Sep 29, 2010 at 8:32 AM, Yaw Anokwa <yanokwa@gmail.commailto:yanokwa@gmail.com> wrote:
mitch is the expert on manage, but i think the wiki is more up to date.

to help with the troubleshooting, can you more clearly describe what
isn't working? is the war not deploying? are you getting error
messages?

On Tue, Sep 28, 2010 at 18:48, pjludwig <pjludwig@natlsec.commailto:pjludwig@natlsec.com> wrote:

Having issues getting 'odk manage' running.

The 'odk manage' wiki page differes from the src as shown below. Does
the src .java file need to be edited - or not.

example:
3.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and insert your
appengine application name in the Application field.
4.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and edit the list
of allowed users in the allowedUsers system property. This is a
comma-, space- or semicolon- delimited list of email addresses. An
attempt is made to sanity-check the list for badly-formed e-mails upon
receipt of the first well-formed request to the Manage server. If any
email address in the list is invalid, all access to the server will be
denied.
5.In the terminal, go to the folder where you installed the Google App
Engine SDK (it will probably be called google_appengine). Type .
\appcfg.cmd update {odk-manage}\war in Windows or ./appcfg.sh update
{odk-manage}/war in Unix/Mac. You will be prompted for your gmail
address and password. After entering them, it should successfully
install the ODK Manage Server.

versus this from the "readme.html" found in the src tree:
http://code.google.com/p/opendatakit/source/browse?repo=manage#hg/doc

--
Mitch Sundt
Software Engineer


University of Washington
mitchellsundt@gmail.commailto:mitchellsundt@gmail.com

that's because app.yaml only has to do with the python version of gae.
we use the java version.

··· On Thu, Sep 30, 2010 at 09:27, Ludwig, Patrick wrote: > Somewhat related: > > I am new to googleAppEngine & noted there was no app.yaml file in the > prebuilt war tree. > > Can you provide an example? I have tried what I thought would be correct > but have failed. > > > > Cheers > > p > > > > From: opendatakit-developers@googlegroups.com > [mailto:opendatakit-developers@googlegroups.com] On Behalf Of Mitch Sundt > Sent: Wednesday, September 29, 2010 1:08 PM > To: opendatakit-developers@googlegroups.com > Subject: Re: [ODK Developers] ODK Manage setup - variation in src vs. wiki > > > > The wiki is more current. I found it absurd that you had to set up a > development environment and recompile the code to change access > restrictions, so I checked in a change to look for a property in the config > instead. Opened a ticket about the out-of-date instructions > http://code.google.com/p/opendatakit/issues/detail?id=125 > > If you want to update the readme.html to reflect the wiki or just reference > it, send me the update and I'll review and check it in. > > Mitch > > On Wed, Sep 29, 2010 at 8:32 AM, Yaw Anokwa wrote: > > mitch is the expert on manage, but i think the wiki is more up to date. > > to help with the troubleshooting, can you more clearly describe what > isn't working? is the war not deploying? are you getting error > messages? > > On Tue, Sep 28, 2010 at 18:48, pjludwig wrote: >> Having issues getting 'odk manage' running. >> >> The 'odk manage' wiki page differes from the src as shown below. Does >> the src .java file need to be edited - or not. >> >> example: >> 3.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and insert your >> appengine application name in the Application field. >> 4.Edit {odk-manage}/war/WEB-INFO/appengine-web.xml, and edit the list >> of allowed users in the allowedUsers system property. This is a >> comma-, space- or semicolon- delimited list of email addresses. An >> attempt is made to sanity-check the list for badly-formed e-mails upon >> receipt of the first well-formed request to the Manage server. If any >> email address in the list is invalid, all access to the server will be >> denied. >> 5.In the terminal, go to the folder where you installed the Google App >> Engine SDK (it will probably be called google_appengine). Type . >> \appcfg.cmd update {odk-manage}\war in Windows or ./appcfg.sh update >> {odk-manage}/war in Unix/Mac. You will be prompted for your gmail >> address and password. After entering them, it should successfully >> install the ODK Manage Server. >> >> versus this from the "readme.html" found in the src tree: >> http://code.google.com/p/opendatakit/source/browse?repo=manage#hg/doc > > > -- > Mitch Sundt > Software Engineer > http://www.OpenDataKit.org > University of Washington > mitchellsundt@gmail.com