From 73b26d5513ecde521fdf7e7464b663ba41745e96 Mon Sep 17 00:00:00 2001 From: thyik <66717752+thyik@users.noreply.github.com> Date: Wed, 6 Jan 2021 21:41:56 +0800 Subject: [PATCH] flutter installation notes --- backend/expressJS/README.md | 2 +- backend/springboot/README.md | 7 ++++--- mobile/flutter/README.md | 19 ++++++++++++++++--- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/backend/expressJS/README.md b/backend/expressJS/README.md index f8acc8b..7c12e76 100644 --- a/backend/expressJS/README.md +++ b/backend/expressJS/README.md @@ -4,7 +4,7 @@ [Home](../../README.md) -[Reference](https://expressjs.com/en/starter) +[Reference](https://expressjs.com/en/starter/installing.html) Create a project skeleton diff --git a/backend/springboot/README.md b/backend/springboot/README.md index 70111b6..4f3fb81 100644 --- a/backend/springboot/README.md +++ b/backend/springboot/README.md @@ -1,5 +1,7 @@ # Create Spring Boot Project +[Reference](https://spring.io/projects/spring-boot) + * Browse [Spring Initialzr](https://start.spring.io/) * Option to select * Gradle @@ -28,7 +30,6 @@ import org.springframework.web.bind.annotation.RestController; public class HomeController { @GetMapping("/home1") - @ResponseBody public String Home(){ // log instaciate from @Slf4j annotation @@ -53,7 +54,7 @@ home... ## Create IntelliJ Debug Configuration * `Run `> `Edit Configuration...` -* Add 'bootRun' Task. Click 'Ok' +* Add `bootRun` Task. Click `OK` * Now `Run...` or `Debug...` accordingly * Alternatively, goto `main` and right click on side bar to run / debug @@ -67,5 +68,5 @@ public class StarterApplication { } ``` - +[Build Application Guide](https://spring.io/guides/gs/spring-boot/) diff --git a/mobile/flutter/README.md b/mobile/flutter/README.md index b501d0f..1d566d0 100644 --- a/mobile/flutter/README.md +++ b/mobile/flutter/README.md @@ -6,8 +6,7 @@ * Unzip to `C:\tools` * Add to environment path `C:\tools\flutter\bin` * Install [Android Studio](https://developer.android.com/studio) -* Create Android Virtual Device (AVD) with API 29 - * API 30 not supported +* Create Android Virtual Device (AVD). Ensure all SDK tools are up-to-date * Add `vs code` plugin * Flutter @@ -20,7 +19,7 @@ $ flutter create myapp $ cd myapp ``` -Launch AVD using Android Studio +Launch AVD using Android Studio. Run the app @@ -28,7 +27,21 @@ Run the app // check AVD connectivity $ flutter devices +// check dependencies are up-to-date +$ flutter doctor +Doctor summary (to see all details, run flutter doctor -v): +[✓] Flutter (Channel master, 1.26.0-2.0.pre.200, on Microsoft Windows [Version 10.0.19042.685], locale en-SG) +[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3) +[✓] Chrome - develop for the web +[✓] Android Studio (version 4.1.0) +[✓] IntelliJ IDEA Community Edition (version 2020.3) +[✓] VS Code (version 1.52.1) +[✓] Connected device (2 available) + +• No issues found! + // run the app $ flutter run ``` +[Codelab Tutorial](https://flutter.dev/docs/get-started/codelab) \ No newline at end of file