Ignore:
Timestamp:
Apr 22, 2019, 5:39:46 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
041e464
Parents:
5e4cb73
Message:

Improved adding Water UI in mapservice-webclient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice/codegen/code_generator

    r5e4cb73 rbe25db1  
    99fi
    1010
    11 echo "Copying static files"
    12 cp -a ../../src/templates ./
    13 cp -a ../../src/static ./
    14 mkdir -p static/css/
    15 mkdir -p static/js/
    16 mkdir -p static/resources/
    17 cp -a ../../../common/css/* static/css/
    18 cp -a ../../../common/js/* static/js/
    19 cp -a ../../../common/resources/* static/resources/
    20 cp -a ../../../../icon/gnuboat-256-256-transparent.png static/resources/
     11#echo "Copying static files"
     12#cp -a ../../src/templates ./
     13#cp -a ../../src/static ./
     14#mkdir -p static/css/
     15#mkdir -p static/js/
     16#mkdir -p static/resources/
     17#cp -a ../../common/css/* static/css/
     18#cp -a ../../common/js/* static/js/
     19#cp -a ../../common/resources/* static/resources/
     20#cp -a ../../common/icon/gnuboat-256-256-transparent.png static/resources/
    2121
     22echo "Generating backend and client API code"
    2223cd ../../
     24# backend
    2325codegen/openapi-generator-cli generate -i openapi.yaml -g python-flask -t codegen/templates/ -o src-gen
     26# client
     27#codegen/openapi-generator-cli generate -i openapi.yaml -g javascript -o src-gen/openapi_server/static/
     28#rm -R src-gen/openapi_server/static/.openapi*
     29
    2430
    2531cd src-gen/
     32tox > /tmp/openapi_tox.log
    2633python3 -m openapi_server
Note: See TracChangeset for help on using the changeset viewer.