[202-03-02話]TIL


スプリング起動とは?いいえ、今日はどんな顔をしているか見ました.
スプリングですね.
  • Java 엔터프라이즈 web開発フレームワーク.(X)
  • これは
  • Webフレームワークではありません.
  • 자바 객체지향 프레임워크.
  • (非公式)객체지향、使いやすい
  • (正式)すべての人がJavaプログラミングを迅速かつ簡単かつ安全に開発することができます.
  • は、最終的には、Webを記述するのではなく、すべての種類のJavaプログラムをより容易に記述する프로그래밍である.
  • Herokuの導入方法
    1.Webサイトにプログラムをインストールします.
  • Deploying Spring Boot Applications to Heroku
  • 프레임워크2.Herokuリポジトリの作成
  • の名前を指定しない場合は、ランダムに生成されます.
  • 以降は変更可能です.
  • $ heroku create
    
    Creating app... done, ⬢ boiling-bayou-72867
    https://boiling-bayou-72867.herokuapp.com/ | https://git.heroku.com/boiling-bayou-72867.git
    3.hrokuリポジトリでPUSHを使用してSpring Bootプロジェクトを起動します.
  • 各種依存ファイルがインストールされていることを確認できます.
  • $ git push heroku master
    
    Enumerating objects: 31, done.
    Counting objects: 100% (31/31), done.
    Delta compression using up to 8 threads
    Compressing objects: 100% (21/21), done.
    Writing objects: 100% (31/31), 335.35 KiB | 1.67 MiB/s, done.
    Total 31 (delta 0), reused 0 (delta 0), pack-reused 0
    remote: Compressing source files... done.
    remote: Building source:
    remote:
    remote: -----> Building on the Heroku-20 stack
    remote: -----> Gradle app detected
    remote: -----> Spring Boot detected
    remote: -----> Installing JDK 1.8... done
    remote: -----> Building Gradle app...
    remote: -----> executing ./gradlew build -x check
    remote:        Downloading https://services.gradle.org/distributions/gradle-6.8.2-bin.zip
    remote:        ..........10%..........20%..........30%...........40%..........50%..........60%..........70%...........80%..........90%..........100%
    remote:        To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.grremote:        > Task :compileJava
    remote:        > Task :bootJarMainClassName
    remote:        > Task :jar SKIPPED
    remote:        > Task :assemble
    remote:
    remote:        Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    remote:        Use '--warning-mode all' to show the individual deprecation warnings.
    remote:        See https://docs.gradle.org/6.8.2/userguide/command_line_interface.html#sec:command_line_warnings
    remote:
    remote:        BUILD SUCCESSFUL in 36s
    remote:        4 actionable tasks: 4 executed
    remote: -----> Discovering process types
    remote:        Procfile declares types     -> (none)
    remote:        Default types for buildpack -> web
    remote:
    remote: -----> Compressing...
    remote:        Done: 69.9M
    remote: -----> Launching...
    remote:        Released v3
    remote:        https://boiling-bayou-72867.herokuapp.com/ deployed to Heroku
    remote:
    remote: Verifying deploy... done.
    To https://git.heroku.com/boiling-bayou-72867.git
    - https://firstsan1.herokuapp.com/
    Herokuリポジトリの名前を変更したい場合
  • Renaming Apps from the CLI
  • 静的ファイル(html、css)を自動的に構築する方法
  • [Spring][IntelliJ] SpringBoot HotSwap with IntelliJ [2019-02-19 Updated]
  • Spring]VscodeでDevTools-LiveReloadを使う
  • Reivew
  • テンプレートエンジンのひげの基本文法を勉強している間に、以前javascriptで勉強していた(.. 회원가입이라던가..git commit 과정이라던가.. 사이트에 너무 잘나와있어서 스킵)と新しい間違いが発生しました.
  • Herokuというところで、初めて템플릿 리터럴を試しました.昔からこの言葉がかっこいいと思っていたので、私も一度やってみたいと思って、やっとやってみました.
  • 今日のタスクよりも、スマートフォンのコードが変化し、ネットワーク上で自動的に再ロードする方法を探すのに多くの時間を費やしましたが、非常に有意義な結果は得られませんでした.