Google App Engine: appcfg.py rollback

前端 未结 19 1807
误落风尘
误落风尘 2020-12-08 07:24

I\'m using Windows 7 and for the life of me I cannot figure out how to call the rollback function on appcfg.py. All I want to know is what to type into the command prompt so

相关标签:
19条回答
    1. Traverse to the path where the appcfg.py is placed

    2. Run the Command python appcfg.py rollback (The Directory of your project folder)

    0 讨论(0)
  • 2020-12-08 07:43

    I couldn't get mine to work, until I did this:

    C:\Program Files (x86)\Google\google_appengine>python appcfg.py rollback "C:\Pro
    gram Files (x86)\Google\google_appengine\mirror-quickstart-python"
    

    I had to add in the double quotes and "python" before the appcfg.py

    0 讨论(0)
  • 2020-12-08 07:43

    Here I have fix it on my ubuntu machine:

    cd /home/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.6.5/appengine-java-sdk-1.6.5/bin/
    sh ./appcfg.sh -A appId -s appengine.google.com -e youdID@google.com rollback /home/workspace/projectName/war
    

    Hope this helps

    0 讨论(0)
  • 2020-12-08 07:48

    I don't know much about these coding things everyone is talking about here..but I found a simple way to update the application..

    1. Select your application and click on "EDIT".
    2. A wordpad file should open up with application details.
    3. Below the application there is version:1
    4. Simply change the version to version:2 instead of 1 and click "Save".
    5. So, instead of updating the same version..you are deploying a new version..
    6. Click on "DEPLOY".
    7. Check your application now!
    0 讨论(0)
  • 2020-12-08 07:51

    After experiencing quite a it of frustration trying to 'appcfg rollback' on my Mac, I read Jaky's answer and resolved the problem in a couple of minutes by changing the version number.

    If you're using eclipse, just open the appengine-web.xml under war>WEB-INF in the project & change the version number there.

    0 讨论(0)
  • 2020-12-08 07:51

    I am using 64 bit Windows7 with GAE-Java Typing all this detail at the command prompt can be frustrating. My solution: create a batch file.

    1. I created a batch file named 'rollback.bat' & saved it in my WORKSPACE directory. The contents look like this:

      cd C:\Users\Organize4Joy\My Code\EclipseWORKSPACE\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.8.3\appengine-java-sdk-1.8.3\bin\appcfg.cmd rollback C:\Users\Organize4Joy\EclipseWORKSPACE\iTreewareMAIN\war
      
    2. run the batch file by simply typing "rollback" this local utility changes directory, runs the appcfg rollback EXE & points it to my war directory.

    Even better would be to establish a common utility(bin) directory and add it to my path variable. That way I can run this utility from anywhere.

    0 讨论(0)
提交回复
热议问题