Skip to content

Commit

Permalink
WASM emulator is now deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
alombarte committed Feb 23, 2021
1 parent 103f9f3 commit ee26437
Show file tree
Hide file tree
Showing 17 changed files with 11,901 additions and 3,882 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM nginx:alpine

# Add wasm MIME type in the ngnix configuration:
RUN sed -i 's/}/ application\/wasm wasm;\n}/' /etc/nginx/mime.types

COPY designer/ /usr/share/nginx/html

# Additional copy to check that the bundle has been correctly generated:
Expand Down
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ build:
docker_build:
docker build -t devopsfaith/krakendesigner .

wasm_build:
cd designer/wasm && GOOS=js GOARCH=wasm go build -o main.wasm && cd ..

serve:
docker run --rm -d -p 8080:80 -v "${PWD}/designer:/usr/share/nginx/html" devopsfaith/krakendesigner

Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,5 @@ Start the web server pointing to `designer/` and mounting the volume:
Remember to `make build` if you change HTML, CSS or JS. Or `node_modules/.bin/grunt ngtemplates && node_modules/.bin/webpack-cli --mode production`





### Optional - Compile WASM
In case you want to compile WASM again (golang required):

make wasm_build

## Get involved! - Please!
The application is working properly (if you find any bug please create an issue) but it needs love from frontend specialists. If you think the application needs reorganization, refactoring, webpack plugins or even a full rewrite in another framework please help us make it improve. We do know how to write go, stuff about performance, and all the boring stuff. Javascript is for decent people (and that probably leave us out), so we need you!
15 changes: 0 additions & 15 deletions designer/wasm/go.mod

This file was deleted.

22 changes: 0 additions & 22 deletions designer/wasm/go.sum

This file was deleted.

200 changes: 0 additions & 200 deletions designer/wasm/main.go

This file was deleted.

Binary file removed designer/wasm/main.wasm
Binary file not shown.
Loading

0 comments on commit ee26437

Please sign in to comment.