Help setting up Manage for development

Hi,

I can't install Manage or compile. Please help!

I cloned the latest version of Manage. I can't get it running
following the instructions below. When I run this command

C:\dev\software\appengine>appcfg.py update C:\dev\opendatakit-manage
\web
Usage: appcfg.py [options] update [version]

appcfg.py: error: Directory does not contain an app.yaml configuration
file.

Additionally, why are there two copies of the src folder? Which one do
I modify and how to I recompile?

Instructions from the doc directory....
Setting up the Manage Server

Sign up for an App Engine Account. Create an application to host ODK
Manage.
Download the app engine SDK.
Edit {odk-manage}/web/war/WEB-INFO/appengine-web.xml, and insert your
appengine application name in the Application field.
Open {odk-manage}/web/src/org/odk/manage/server/
AdminAccountsConfig.java, and enter the gmail addresses of all the
people who you want to be able to access the manage admin page. Don't
worry; you can add more later!
In the terminal, go to the folder where you installed the Google App
Engine SDK (it will probably be called google_appengine). Type ./
appcfg.py update {odk-manage}/web. You will be prompted for your gmail
address and password. After entering them, it should successfully
install the ODK Manage Server.
Do a test run to make sure everything's working. Visit the server at
{application-name}.appspot.com. You should be prompted for gmail
credentials; you'll need to enter a gmail account that you listed in
AdminAccountsConfig! You can also see the status of your application
by going to http://appengine.google.com and clicking on the
application. The Logs tab is a great way to see what's happening and
diagnose any problems.
You now have an empty ODK Manage server. Next, you'll want to install
the ODK Manage client on your Android phone. If you plan to use SMS
for your deployment, read Setting up SMS with ODK Manage.

If you are using Eclipse, with the Google AE plugin, you should just be able
to right-click on the project, select Google / Deploy to AppEngine.

It looks like you are using the Python-specific deployment script, and not
the Java-specific one (appcfg.cmd or appcfg.sh).

See http://code.google.com/appengine/docs/java/tools/uploadinganapp.html

Mitch

··· On Fri, Mar 25, 2011 at 12:38 PM, GregM wrote:

Hi,

I can't install Manage or compile. Please help!

I cloned the latest version of Manage. I can't get it running
following the instructions below. When I run this command

C:\dev\software\appengine>appcfg.py update C:\dev\opendatakit-manage
\web
Usage: appcfg.py [options] update [version]

appcfg.py: error: Directory does not contain an app.yaml configuration
file.

Additionally, why are there two copies of the src folder? Which one do
I modify and how to I recompile?

Instructions from the doc directory....
Setting up the Manage Server

Sign up for an App Engine Account. Create an application to host ODK
Manage.
Download the app engine SDK.
Edit {odk-manage}/web/war/WEB-INFO/appengine-web.xml, and insert your
appengine application name in the Application field.
Open {odk-manage}/web/src/org/odk/manage/server/
AdminAccountsConfig.java, and enter the gmail addresses of all the
people who you want to be able to access the manage admin page. Don't
worry; you can add more later!
In the terminal, go to the folder where you installed the Google App
Engine SDK (it will probably be called google_appengine). Type ./
appcfg.py update {odk-manage}/web. You will be prompted for your gmail
address and password. After entering them, it should successfully
install the ODK Manage Server.
Do a test run to make sure everything's working. Visit the server at
{application-name}.appspot.com. You should be prompted for gmail
credentials; you'll need to enter a gmail account that you listed in
AdminAccountsConfig! You can also see the status of your application
by going to http://appengine.google.com and clicking on the
application. The Logs tab is a great way to see what's happening and
diagnose any problems.
You now have an empty ODK Manage server. Next, you'll want to install
the ODK Manage client on your Android phone. If you plan to use SMS
for your deployment, read Setting up SMS with ODK Manage.

--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en

--
Mitch Sundt
Software Engineer

University of Washington
mitchellsundt@gmail.com

also, note that we haven't touched the manage code in a while. it'll
likely require some finessing before it behaves properly.

··· On Fri, Mar 25, 2011 at 15:49, Mitch Sundt wrote: > If you are using Eclipse, with the Google AE plugin, you should just be able > to right-click on the project, select Google / Deploy to AppEngine. > > It looks like you are using the Python-specific deployment script, and not > the Java-specific one (appcfg.cmd or appcfg.sh). > > See http://code.google.com/appengine/docs/java/tools/uploadinganapp.html > > Mitch > > On Fri, Mar 25, 2011 at 12:38 PM, GregM wrote: >> >> Hi, >> >> I can't install Manage or compile. Please help! >> >> I cloned the latest version of Manage. I can't get it running >> following the instructions below. When I run this command >> >> C:\dev\software\appengine>appcfg.py update C:\dev\opendatakit-manage >> \web >> Usage: appcfg.py [options] update [version] >> >> appcfg.py: error: Directory does not contain an app.yaml configuration >> file. >> >> Additionally, why are there two copies of the src folder? Which one do >> I modify and how to I recompile? >> >> Instructions from the doc directory.... >> Setting up the Manage Server >> >> Sign up for an App Engine Account. Create an application to host ODK >> Manage. >> Download the app engine SDK. >> Edit {odk-manage}/web/war/WEB-INFO/appengine-web.xml, and insert your >> appengine application name in the Application field. >> Open {odk-manage}/web/src/org/odk/manage/server/ >> AdminAccountsConfig.java, and enter the gmail addresses of all the >> people who you want to be able to access the manage admin page. Don't >> worry; you can add more later! >> In the terminal, go to the folder where you installed the Google App >> Engine SDK (it will probably be called google_appengine). Type ./ >> appcfg.py update {odk-manage}/web. You will be prompted for your gmail >> address and password. After entering them, it should successfully >> install the ODK Manage Server. >> Do a test run to make sure everything's working. Visit the server at >> {application-name}.appspot.com. You should be prompted for gmail >> credentials; you'll need to enter a gmail account that you listed in >> AdminAccountsConfig! You can also see the status of your application >> by going to http://appengine.google.com and clicking on the >> application. The Logs tab is a great way to see what's happening and >> diagnose any problems. >> You now have an empty ODK Manage server. Next, you'll want to install >> the ODK Manage client on your Android phone. If you plan to use SMS >> for your deployment, read Setting up SMS with ODK Manage. >> >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en > > > > -- > Mitch Sundt > Software Engineer > http://www.OpenDataKit.org > University of Washington > mitchellsundt@gmail.com > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en >