Skip to content

Commit

Permalink
add gradle build info
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalstad committed Oct 20, 2024
1 parent bfe59f9 commit 39bc304
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@ Once you have successfully connected your local VS Code to the remote workspace,
>
> Theoretically, it would be possible to use the browser-based VS Code interface. However, both Gitpod and Codespaces map forwarded ports to different domain names instead of different ports, which confuses the GWT code loader. It is possible to fix this by live-patching the `serverUrl` variable in `circuitjs1.nocache.js` using a custom HTTP server, but it also requires setting the port visibility to "Public" to avoid CORS errors due to redirects. Using a local installation of VS Code is much simpler.
### Gradle

To build the application using gradle, do the following:

```bash
# 1. Run Gradle build with verbose output:
gradle compileGwt --console verbose --info
# 2. Create the web-site directory from the build files:
gradle makeSite --console verbose --info
```

Now, just open `site/circuitjs.html` with your browser and enjoy!

## Deployment of the web application

Expand Down

0 comments on commit 39bc304

Please sign in to comment.