Code Monkey home page Code Monkey logo

code-up-micronaut's Introduction

code-up-micronaut

This is the starter application for the micronaut talk.

Installation Instructions

Clone the git repository.

Navigate to the directory you would like to which you would like to clone the project. Run the following.

git clone [email protected]:chantrybjss/code-up-micronaut.git

For those of you without git installed. Above there is a green button that says Clone or Download. Click this button if you do not want to clone using the above command.

Install Java 11

Amazon Corretto is a production-ready distribution of OpenJDK. Download and install from the AWS Documentation here.

Install IntelliJ

Download IntelliJ Community Edition (or Professional if you have a license) and follow the instructions.

Upon installation, open IntelliJ, and run through the wizard to configure the environment. When asked to create or open a project, simply navigate to the project cloned above and select the folder.

Once the project is open, enable annotation processing. From the menu navigate to the following.

File -> Settings -> Build, Execution, Deployment -> Compiler

Then tick "Enable annotation processing". As explained in the Micronaut Docs this ensures that you can run the application and tests without the need for an external build tool like maven.

Add Java 11 to IntelliJ

Navigate to File -> Project Structure and click New..., then JDK, then navigate to the installation directory for Amazon Corretto (or whichever JDK distribution you have installed).

Make sure all the Java 11 features are enabled for the project.

Running the Project

Navigate to the Application class file by double tapping shift, typing Application, and selecting it from the dropdown. Then simply click the green arrow and watch the project build and run.

If you are successful you should see something like the following.

18:33:41.339 [main] INFO  io.micronaut.runtime.Micronaut - Startup completed in 1566ms. Server Running: http://localhost:8080

Congrats! You are all setup!

code-up-micronaut's People

Contributors

cargillchantry avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.