-
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.
Merge branch 'release/3.2.0' into docs/versions
- Loading branch information
Showing
26 changed files
with
230 additions
and
140 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,15 @@ The sources are [on Github](https://github.com/mapbender/mapbender-documentation | |
|
||
The website code is generated using [Sphinx](http://sphinx-doc.org/), therefore the documentation source is written in [Restructured Text](http://sphinx-doc.org/rest.html). | ||
|
||
You find a documentation about how the documentation is structured in the documentation itself in chapter [How to write Mapbender Documentation?](http://doc.mapbender.org/en/book/development/documentation_howto.html) or directly [here in this Git-Repository](https://github.com/mapbender/mapbender-documentation/blob/master/en/book/development/documentation_howto.rst). | ||
You find a documentation about how the documentation is structured in the documentation itself in chapter [How to write Mapbender Documentation?](http://doc.mapbender.org/en/book/development/documentation_howto.html) or directly [here in this Git-Repository](https://github.com/mapbender/mapbender-documentation/blob/master/en/documentation_howto.rst). | ||
|
||
|
||
To build the website locally, you need to install Sphinx. Install it in Debian-based distributions via | ||
|
||
```bash | ||
$ apt install python-sphinx | ||
sudo apt-get install sphinx-common python3-sphinx | ||
sudo apt-get install pip3 | ||
sudo pip3 install sphinxcontrib-phpdomain | ||
``` | ||
|
||
You can then build the documentation by running: | ||
|
@@ -23,7 +25,23 @@ You can then build the documentation by running: | |
$ make | ||
``` | ||
|
||
Example | ||
|
||
```bash | ||
|
||
cd /data | ||
git clone git clone [email protected]:mapbender/mapbender-documentation | ||
git checkout release/3.2.0 | ||
|
||
ln -s /data/mapbender-documentation/_build/ /var/www/html/mb-doc | ||
|
||
rm -Rf _build | ||
sphinx-build . _build -A version=3.2.0 | ||
|
||
http://localhost/mb-doc/ | ||
``` | ||
|
||
To participate in the documentation, create a fork and submit a pull request with your changes. | ||
|
||
|
||
Have fun! | ||
Have fun! |
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
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
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
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 |
---|---|---|
@@ -1,17 +1,42 @@ | ||
.. _installation_symfony_de: | ||
|
||
Installation im Symfony Webserver | ||
Installation von Mapbender unter Verwendung des Symfony-eigenen Webservers | ||
################################# | ||
|
||
Mapbender baut auf dem `Symfony <http://symfony.com/>`_ Framework auf und kann daher den in `Symfony eingebauten Webserver <http://symfony.com/doc/current/cookbook/web_server/built_in.html>`_ nutzen. Das ermöglicht Ihnen einen schnellen Test von Mapbender, ohne eine Integration in einen Webserver vorzunehmen. Dies eignet sich nicht für Produktivumgebungen. In dieser Anleitung wird die SQLite Datenbank verwendet. | ||
Mapbender baut auf das `Symfony <http://symfony.com/>`_ Framework auf und kann | ||
daher den `Symfony-eigenen Webserver <http://symfony.com/doc/current/cookbook/web_server/built_in.html>`_ nutzen. | ||
Das ermöglicht Ihnen einen schnellen Test von Mapbender, ohne eine Integration in einen Webserver vorzunehmen. | ||
|
||
* Systemvoraussetzungen in der Installationsanleitung `Linux <installation_ubuntu.html>`_ bzw. `Windows <installation_windows.html>`_ | ||
* Download der aktuellen Mapbender Version unter https://mapbender.org/builds/ | ||
.. hint:: Der Symfony-eigenen Webserver eignet sich nicht für die Produktivumgebungen. | ||
|
||
In dieser Anleitung wird die im Installationspaket mitgelieferte SQLite-Datenbank verwendet. | ||
|
||
* Bitte prüfen Sie die Systemvoraussetzungen in der Installationsanleitung `Linux <installation_ubuntu.html>`_ bzw. `Windows <installation_windows.html>`_ | ||
* Laden Sie die aktuellen Mapbender-Version herunter https://mapbender.org/builds/ | ||
* Entpacken in ein beliebiges Verzeichnis. | ||
* Start des Symfony Webserver: | ||
* Starten Sie den Symfony-eigenen Webserver. | ||
|
||
.. code-block:: bash | ||
app/console server:run | ||
Der Befehl führt einen lokalen Webserver aus. | ||
|
||
Standardmäßig lauscht der Server auf die Adresse 127.0.0.1 und den ersten freien Port ab 8000. | ||
|
||
Mapbender ist nun auf dem lokalen Rechner über die Adresse http://127.0.0.1:8001/ erreichbar. | ||
Beachten Sie, dass über diesen Aufruf standardmäßig der Entwickler-Modus gestartet wird. | ||
|
||
Sie können den Aufruf auch mehrfach ausführen. Es wird dann der nächste freie Port verwendet. | ||
|
||
Die gewünschte Adresse kann auch über die Angabe der IP und des Ports angegeben werden: | ||
|
||
.. code-block:: bash | ||
.. code-block:: bash | ||
app/console server:run 0.0.0.0:8000 | ||
app/console server:run 127.0.0.1:80002 | ||
[OK] Server listening on http://127.0.0.1:8002 | ||
// Quit the server with CONTROL-C. | ||
Mapbender ist dann vom Host-Rechner aus über http://ip-adresse:8000/app.php erreichbar. | ||
[Mon Jan 31 15:56:57 2022] PHP 7.4.3 Development Server (http://127.0.0.1:8002) started |
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
Oops, something went wrong.