Ignore:
Timestamp:
Feb 7, 2021, 1:35:13 PM (6 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye
Children:
2edb5e7
Parents:
5891f86 (diff), d3c70bb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into debian/bullseye

# Conflicts:
# src/puppetcode/environments/gnuboat/hieradata/gnuboat/device.yaml
# src/puppetcode/environments/gnuboat/hieradata/gnuboat/mapservice_host.yaml
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/gnuboat_mapservice.sql
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/files/mapservice_database_dockerfile
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/host_install.pp
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/init.pp
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/manifests/mapservice_without_container_config.pp
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/gnuboat_mapservice.yaml.epp
# src/puppetcode/environments/gnuboat/modules/gnuboat_mapservice/templates/mapservice.conf.epp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/app/components/mapservice-webclient.rst

    r5891f86 r85edaaa  
    11Mapservice Webclient
    2 ============================
     2====================
    33
    4 Run the following command in src/mapservice-webclient (you need node.js installed!):
     4Production environment
     5----------------------
     6
     7The process to install the webapp in production mode contains the steps
     8 1. build the nodejs app
     9 2. copy the result to a webserver
     10 3. configure the webserver to serve the webapp
     11
     12Building the webapp
     13*******************
     14
     15We recommend to use our debian package. If it is not applicable for you,
     16follow this instructions to set it up on your own.
     17
     18For this commands to work, you need node.js to be installed.
     19
     20At first you need to install all node dependencies. To do so, execute the
     21following code in ``src/mapservice-webclient``:
    522
    623.. code-block:: console
    724
    8   npm start
     25  npm install
    926
    10 Please start the mapservice also and than visit [http://localhost:8001] in your browser.
    11 If you started :doc:`../executables/gnuboat-dev-mapservice` in development mode, as described above, you can
    12 login with user ``jane`` and ``testpass``.
     27To build the webapp run the following code in the same folder:
     28
     29.. code-block:: console
     30
     31  ng build --prod
     32
     33Copy the result to a webserver
     34******************************
     35
     36Configure the webserver
     37***********************
     38
     39Development environment
     40-----------------------
     41
     42The first step is to install all the needed dependencies. To do so run the
     43following command in ``src/mapservice-webclient`` (you need node.js
     44installed!) to install all node dependencies:
     45
     46.. code-block:: console
     47
     48  npm install
     49
     50To start the development server run:
     51
     52.. code-block:: console
     53
     54  ng serve
     55 
     56Please start the mapservice also and than visit http://localhost:4200
     57in your browser. If you started :doc:`../executables/gnuboat-dev-mapservice`
     58in development mode, you can login with user ``jane`` and ``testpass``.
Note: See TracChangeset for help on using the changeset viewer.