Skip to content

jirkavrba/micronaut-starter-ui

 
 

Repository files navigation

Micronaut Launch UI

Build Status

This project builds the Micronaut Launch UI.

To build the site for CI run:

./gradlew build --console=plain

For local development mimicing production launch site:

  • 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

Running a Micronaut Starter API locally to dev against

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

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",
        ...
    },
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.1%
  • CSS 14.7%
  • HTML 1.5%
  • Shell 0.7%