Skip to content

amat-mi/mobashi-main-ui

Repository files navigation

Mobashi-MAIN UI

Client MAIN of the Mobashi system.

Installation

Configuration for production

To build a new version of the frontend files, run the following commands:

docker compose build --build-arg BASE_HREF="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/ui/"
docker compose up -d
docker cp mobashi-main-ui:/app/www /var/local/mnt/mobashi-main-ui
docker compose down




docker compose run mobashi-main-ui /bin/bash

After the build terminate, the fronted files are available inside directory:

Arguments BASE_HREF and BASE_DIRECTORY must be set along the configuration of the Web server, installed the host machine, that is going to serve the frontend files.

If not given, default values are used as shown above (see inside docker-compose.yml file).

For example (using Nginx):

location /ui/ {
    /var/local/mnt/mobashi-main-ui
}

Development

Running

In case of problems while running from VSCode, use the following command:

npx ionic serve --no-open --external --port=4100 --configuration=development

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published