Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versions #53

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ should see GUI of SymPy Online Shell.
Uploading to GAE
----------------

Before uploading, you need to update the version. Edit app.yaml, and bump the
version number up by one, and commit this change. Then, go to
https://appengine.google.com/deployment?app_id=sympy-live and delete the
oldest version (we can only have ten versions at once, so if you don't do
this, it will reject the upload). Then, you can upload the new version.

Assuming that sympy-live works properly (also across different mainstream
web browsers), you can upload your changes to Google App Engine::

Expand All @@ -86,6 +92,20 @@ application and make appropriate changes to ``app.yaml`` (replace in the
first line sympy-live with the name of your application). Then you can
use ``appcfg.py`` as above, to upload to GAE.

Go to http://<new-version-number>.sympy-live.appspot.com (for example, for
version 21, go to http://21.sympy-live.appspot.com/) after uploading and make
sure that everything works. If it does, go to
https://appengine.google.com/deployment?app_id=sympy-live and set the newest
version to the default.

Changing the version before each upload makes it easy to rollback accidental
regressions. Just go to the dashboard and revert to the latest version that
doesn't have the problem. This also lets you test the latest version after
uploading before deploying it to the main site.

Do not use versions to upload tests. If you want to test something, create a
separate test app on the App Engine and upload it there.

Development notes
-----------------

Expand Down