This project builds the Micronaut Launch UI.
./gradlew build --console=plain
- To bypass CORS restrictions, Launch the Local Version / Proxy Server
cd ./dev-proxy-server
npm run start
- Start the dev build of the site
cd ./app/launch/
npm run start:local
If you want to run against a version of the starter api (Micronaut Starter Api)[https://github.com/micronaut-projects/micronaut-starter]
Outside of this project pull down that repo
git clone [email protected]:micronaut-projects/micronaut-starter.git
cd micronaut-starter
export CORS_ALLOWED_ORIGIN=http://localhost:3000
./gradlew starter-web-netty:run
Then start up a version server to provide that instance
cd ./dev-proxy-server
npm run start:starter
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", ... },