-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typos and structure installation with git
- Loading branch information
Showing
2 changed files
with
46 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ Get the code from the git repository. Cloning is easy, just issue the following | |
|
||
.. code-block:: bash | ||
git clone https://github.com/mapbender/mapbender-starter.git mapbender3 | ||
git clone https://github.com/mapbender/mapbender-starter.git mapbender3 | ||
cd mapbender3 | ||
Developers granted secure access to the code must use the SSH-URL of the | ||
|
@@ -277,60 +277,64 @@ Read more about `How to write Mapbender3 API Documentation? <../development/apid | |
Troubleshooting | ||
*************** | ||
|
||
* The ApiGen task only works with recent versions of Phing (>= 2.4.12). Check the Phing version with | ||
* The ApiGen task only works with recent versions of Phing (>= 2.4.12). Check the Phing version with: | ||
|
||
|
||
.. code-block:: yaml | ||
.. code-block:: bash | ||
phing -v | ||
You can update all your Pear packages with | ||
|
||
|
||
.. code-block:: yaml | ||
.. code-block:: bash | ||
sudo pear upgrade-all | ||
sudo pear upgrade-all | ||
Enable full APC compatibility [yes] : yes | ||
Enable internal debugging in APCu [no] : yes | ||
Using the quick_install.py script | ||
********************************* | ||
.. | ||
Using the quick_install.py script | ||
********************************* | ||
A Python script to quickly install a mapbender-starter is provided with the | ||
mapbender-starter itself. You can download that script, which offers a number | ||
of command line arguments: | ||
|
||
- branch: by default, the develop branch is used, but you can specify any branch | ||
- directory: by default the directory mapbender3_BRANCH will be used, but that | ||
can be specified as well. | ||
- admin user: the default admin account (root <[email protected]> / root) can be | ||
changed as well. | ||
|
||
You can download the script or just pass it's URL to curl to fetch it and pipe | ||
the result trough Python. The later is demonstrated in the examples section | ||
below. | ||
|
||
Examples | ||
======== | ||
|
||
A Python script to quickly install a mapbender-starter is provided with the | ||
mapbender-starter itself. You can download that script, which offers a number | ||
of command line arguments: | ||
http://bit.ly/1tQvo5i is the shortened URL for | ||
https://raw.githubusercontent.com/mapbender/mapbender-starter/develop/bin/quick_install.py | ||
|
||
- branch: by default, the develop branch is used, but you can specify any branch | ||
- directory: by default the directory mapbender3_BRANCH will be used, but that | ||
can be specified as well. | ||
- admin user: the default admin account (root <[email protected]> / root) can be | ||
changed as well. | ||
- Install develop branch into mapbender3_develop | ||
|
||
You can download the script or just pass it's URL to curl to fetch it and pipe | ||
the result trough Python. The later is demonstrated in the examples section | ||
below. | ||
.. code-block:: sh | ||
Examples | ||
======== | ||
curl -sSL http://bit.ly/1tQvo5i | python | ||
http://bit.ly/1tQvo5i is the shortened URL for | ||
https://raw.githubusercontent.com/mapbender/mapbender-starter/develop/bin/quick_install.py | ||
- Install foo branch into /tmp/bar | ||
|
||
- Install develop branch into mapbender3_develop | ||
|
||
.. code-block:: sh | ||
.. code-block:: sh | ||
curl -sSL http://bit.ly/1tQvo5i | python | ||
curl -sSL http://bit.ly/1tQvo5i | python - --dir=/tmp/bar foo | ||
- Install foo branch into /tmp/bar | ||
|
||
.. code-block:: sh | ||
- Install develop branch, but use admin <[email protected]> with password admin | ||
|
||
curl -sSL http://bit.ly/1tQvo5i | python - --dir=/tmp/bar foo | ||
.. code-block:: sh | ||
- Install develop branch, but use admin <[email protected]> with password admin | ||
|
||
.. code-block:: sh | ||
curl -sSL http://bit.ly/1tQvo5i | python - --username=admin [email protected] --password=admin | ||
curl -sSL http://bit.ly/1tQvo5i | python - --username=admin [email protected] --password=admin | ||