Micronaut Launch UI
October 19, 2023 · View on GitHub
This project builds the Micronaut Launch UI.
To build the site for CI run:
./gradlew build
Running locally
Tested on my machine with:
❯ npm --version
10.1.0
❯ node --version
v20.8.0
Run micronaut-starter locally
Ensure you have micronaut-starter checked out somewhere:
git clone git@github.com:micronaut-projects/micronaut-starter.git
cd micronaut-starter
And then run the starter-web-netty app (with the CORS filter configured):
CORS_ALLOWED_ORIGIN=http://localhost:3000 ./gradlew starter-web-netty:run
Run the dev proxy server
In a separate terminal, at the root of this project:
cd dev-proxy-server
npm install
npm run start:starter
Run the application locally
In yet another terminal, at the root of this project:
cd app/launch
npm install
npm run start:local
Your default browser should then navigate to http://localhost:3000/launch
Updating The Version feed
You can find the version feed file at ./app/launch/public/mn-version-feed.json. It must be in valid JSON format, so beware of these gotyas!
Keys must be quoted
-
GOOD
{ "key": "RELEASE", "baseUrl": "https://launch.micronaut.io", "order": 0 } -
BAD
{ key: "RELEASE", baseUrl: "https://launch.micronaut.io", order: 0 }
No trailing comma
-
GOOD
{ "key": "RELEASE", ... }, { "key": "NEXT", ... } -
BAD
{ "key": "RELEASE", ... }, { "key": "NEXT", ... },