github.com/masterhung0112/hk_server/v5@v5.0.0-20220302090640-ec71aef15e1c/README.md (about)

     1  # Windows environment
     2  
     3  Install:
     4  tdm-gcc
     5  https://jmeubank.github.io/tdm-gcc/download/
     6  
     7  # Deploy locally
     8  
     9  ```
    10  yarn task docker_webapp up -d
    11  ```
    12  
    13  Stop
    14  ```
    15  yarn task docker_webapp stop
    16  ```
    17  
    18  # Publish image to docker repository
    19  
    20  In .env, make sure that you set value for DOCKER_USERNAME and DOCKER_PASSWORD
    21  
    22  ```
    23  yarn task build_linux
    24  yarn task package_docker_image
    25  yarn task build_docker_image 0.01
    26  yarn task push_docker_image 0.01
    27  ```
    28  
    29  # CI
    30  
    31  Run CI locally
    32  
    33  ```
    34  cloud-build-local --config=build/cloudbuild-ci.yaml --dryrun=false ./
    35  ```