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

Move miss placed project.yaml.mako remark. #3294

Merged
merged 1 commit into from
Dec 13, 2017
Merged
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
26 changes: 14 additions & 12 deletions doc/integrator/upgrade_application.rst.mako
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,7 @@ has changed with GMF 2.1. See :ref:`integrator_intranet` and update your code ac
Updating the application code
-----------------------------

Verify that you have in your ``project.yaml.mako`` file the following ``template_vars``: ``package``, ``srid``, ``extent``, ``apache_vhost``, for example:

.. code:: yaml

...
template_vars:
package: ${'$'}{package}
srid: ${'$'}{srid}
extent: 489246, 78873, 837119, 296543
apache_vhost: <apache_vhost>

Then run:
To upgrade your application code from the remote repository run:

.. prompt:: bash

Expand All @@ -83,6 +72,19 @@ Upgrading an application
In the ``setup.py`` be sure not to specify a ``c2cgeoportal`` version,
because it will prevent the installation of the new ``c2cgeoportal`` egg.

Verify that you have in your ``project.yaml.mako`` file the following ``template_vars``:
``package``, ``srid``, ``extent``, ``apache_vhost``, for example:

.. code:: yaml

...
template_vars:
package: ${'$'}{package}
srid: ${'$'}{srid}
extent: 489246, 78873, 837119, 296543
apache_vhost: <apache_vhost>


We consider that your makefile is named ``<instanceid>.mk``, if it is not the case
add in your Makefile ``UPGRADE_MAKE_FILE = <user.mk>``

Expand Down