How to install Play Framework 2.6 for Mac

The other day, I introduced the play framework for the first time, but I didn't know how to do it, so I will summarize it. In my case, the JDK was installed and the path was registered, so I will write on that assumption.

flow

  1. Install play framework
  2. Run the app
  3. Change the execution status of the file
  4. Challenge to execute again

Play framework download

Download from here. https://www.playframework.com/download In my case it was Java Play 2.6.x Starter Projects/Play Java Starter Example I downloaded.

Run the app But ...

Move the downloaded folder in the terminal to the answer location. So run stb run.

However, at first, ** I don't have the right to execute the file **, so the following error occurs.

1st time

-bash: ./sbt: Permission denied

Second time

./sbt: line 3: ./sbt-dist/bin/sbt: Permission denied

This is basically a ** state where the files ** ./sbt and ./sbt-dist/bin/sbt do not have execute permission **.

Change the execution of the file

So, change the execution right of the above two files of the file with chmod from the terminal from rwrwx. I referred to the following for the concept of execution rights and how to change them. -Linux permission confirmation and change (for super beginners) https://qiita.com/shisama/items/5f4c4fa768642aad9e06

Challenge to execute again

I changed the run right and ran ./sbt run again and it worked! It seems that it takes about 20 minutes to load ... After loading, run http: // localhost: 9000 on your web browser and the sample app will work!

Recommended Posts

How to install Play Framework 2.6 for Mac
How to install JDK8-10 (Mac)
How to use BootStrap with Play Framework
How to install Eclipse (Photon) on Mac
How to install Docker
How to install docker-machine
How to install MySQL
How to install ngrok
How to use nginx-ingress-controller with Docker for Mac
How to uninstall Java 8 (Mac)
[Rails] How to install devise
How to install Boots Faces
Introduced Dozer to Play Framework
How to make Laravel faster with Docker for Mac
How to use Play Framework without using typesafe activator
How to install Gradle and Kotlin with SDKMAN (Mac)
[Rails] How to install simple_calendar
[Rails] How to install reCAPTCHA
How to Install Elixir and Phoenix Framework on Ubuntu 20.04 LTS
How to install Web application for each language in Nginx
[Rails] How to install Font Awesome
How to specify validation for time_field
How to install ImageMagick on Windows 10
How to install ruby through rbenv
[How to install Spring Data Jpa]
Super rough! How to install Dagger2
How to install Bootstrap in Ruby
How to install MariaDB 10.4 on CentOS 8
[Rails] How to install ImageMagick (RMajick)
[Rails] How to install Font Awesome
How to install WildFly on Ubuntu 18.04
How to install Swiper in Rails
How to use \ t Escape sequences different for mac and Windows-java
How to check Java installed on Mac
How to use binding.pry for view files
Install Docker Desktop for Mac with Homebrew
How to install production Metabase on Ubuntu
How to create a Maven repository for 2020
How to switch Java versions on Mac
How to install beta php8.0 on CentOS8
[Ruby] How to use slice for beginners
Post to Slack from Play Framework 2.8 (Java)
How to install the legacy version [Java]
How to install kafkacat on Amazon Linux2
Needed for iOS 14? How to set NSUserTrackingUsageDescription
[For beginners] How to debug in Eclipse
(For beginners) [Rails] Time saving tech! How to install and use slim
[Java] How to test for null with JUnit
How to create a database for H2 Database anywhere
How to find OSS trends for web development
How to install network drivers on standalone Ubuntu
How to use an array for HashMap keys
How to play audio and music using javascript
How to use Java framework with AWS Lambda! ??
How to install Titan2D (v4.2.0) in virtual environment
How to create pagination for a "kaminari" array
[Rails] How to implement unit tests for models
How to install NVIDIA driver on Ubuntu 18.04 (Note)
How to deploy
[For beginners] How to implement the delete function
How to make a lightweight JRE for distribution