Sign inSign up

wavemakerapp/wm-rn-web-preview

By wavemakerapp

•Updated over 2 years ago

Image
0

1.9K

wavemakerapp/wm-rn-web-preview repository overview

⁠wm-rn-web-preview

This Docker image is configured to allow users to execute wm-reactnative-cli⁠ commands.

⁠Software packages Installed in Docker Image
  • Installed software packages for WaveMaker Application Build
    • Curl
    • Node Js
    • Unzip
    • Git
⁠Instructions to Setup wm-rn-web-preview Container
  • Download Docker⁠.

  • After installing, Pull the wm-rn-web-preview Image by running the following command

    docker pull wavemakerapp/wm-rn-web-preview:<tag>
    
  • If there is an already exsisting container with name wm-rn-web-preview, it can be removed by running the following command:

    docker rm wm-rn-web-preview
    
  • For the first time, to create a container wm-rn-web-preview and run it. you need to run the following command:

    docker container run -it --name wm-rn-web-preview -p 19009:19009 wavemakerapp/wm-rn-web-preview:<tag>
    

    wm-rn-web-preview is the container name created.

    -p 19009:19009 The -p option in Docker is used for port binding, and it follows the pattern HostPort:DockerPort.

    wavemakerapp/wm-rn-web-preview is the image name.

    tag is the image tag. It can be a release version of the WaveMaker.

  • This will launch a terminal session in docker container, here we can use wm-reactnative-cli⁠ commands.

    For example,

    wm-reactnative run web-preview <preview_url> --clean

    <preview_url> is the app preview url (eg:'https://www.wavemakeronline.com/run-ngnfytn5tb/test_master⁠')

⁠To Start the Container
  • After setting up the container, To start the container, you can run the following command:
     docker start wm-rn-web-preview && docker exec -it wm-rn-web-preview /bin/bash
    

Tag summary

Content type

Image

Digest

sha256:54d9d8f80…

Size

168.8 MB

Last updated

over 2 years ago

docker pull wavemakerapp/wm-rn-web-preview