Skip to content

Commit

Permalink
Little small create project fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Oct 30, 2018
1 parent 1b3773a commit 244e97d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions doc/integrator/create_application.rst.mako
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ c2cgeoportal application you want to create the new application from:

.. prompt:: bash

./docker-run --image=camptocamp/geomapfish-build pcreate -l
./docker-run --image=camptocamp/geomapfish-build ${'\'}
--version=<release|version> pcreate -l
You should at least see the c2cgeoportal scaffolds:
Expand All @@ -81,14 +82,16 @@ To create the application first apply the ``c2cgeoportal_create`` scaffold:
.. prompt:: bash
./docker-run -ti --image=camptocamp/geomapfish-build \
./docker-run -ti --image=camptocamp/geomapfish-build ${'\'}
--version=<release|version> ${'\'}
pcreate -s c2cgeoportal_create <project>
And for the non Docker version, apply also the ``c2cgeoportal_nondockercreate`` scaffold:
.. prompt:: bash
./docker-run -ti --image=camptocamp/geomapfish-build \
./docker-run -ti --image=camptocamp/geomapfish-build ${'\'}
--version=<release|version> ${'\'}
pcreate -s c2cgeoportal_nondockercreate <project>
.. note::
Expand All @@ -106,8 +109,9 @@ it later.
.. prompt:: bash
./docker-run -ti --image=camptocamp/geomapfish-build \
--env=SRID=21781 --env=EXTENT="420000,30000,900000,350000"
./docker-run -ti --image=camptocamp/geomapfish-build ${'\'}
--version=<release|version> ${'\'}
--env=SRID=21781 --env=EXTENT="420000,30000,900000,350000" ${'\'}
pcreate -s c2cgeoportal_create --package-name <package> <project>
This will create a directory named ``<project>`` that will be next to the
Expand All @@ -118,14 +122,16 @@ Now apply the ``c2cgeoportal_update`` scaffold:
.. prompt:: bash
./docker-run -ti --env=SRID=21781 --image=camptocamp/geomapfish-build \
./docker-run -ti --env=SRID=21781 ${'\'}
--image=camptocamp/geomapfish-build --version=<release|version> ${'\'}
pcreate -s c2cgeoportal_update --package-name <package> <project>
And for the non Docker version, apply also the ``c2cgeoportal_nondockerupdate`` scaffold:
.. prompt:: bash
./docker-run -ti --env=SRID=21781 --image=camptocamp/geomapfish-build \
./docker-run -ti --env=SRID=21781 ${'\'}
--image=camptocamp/geomapfish-build --version=<release|version> ${'\'}
pcreate -s c2cgeoportal_nondockerupdate --package-name <package> <project>
Expand Down

0 comments on commit 244e97d

Please sign in to comment.