This project builds the Micronaut Launch UI.
./gradlew build
Tested on my machine with:
❯ npm --version
10.1.0
❯ node --version
v20.8.0
Ensure you have micronaut-starter checked out somewhere:
git clone [email protected]: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
In a separate terminal, at the root of this project:
cd dev-proxy-server
npm install
npm run start:starter
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
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!
-
GOOD
{ "key": "RELEASE", "baseUrl": "https://launch.micronaut.io", "order": 0 }
-
BAD
{ key: "RELEASE", baseUrl: "https://launch.micronaut.io", order: 0 }
-
GOOD
{ "key": "RELEASE", ... }, { "key": "NEXT", ... }
-
BAD
{ "key": "RELEASE", ... }, { "key": "NEXT", ... },