Subscribe to Continue Downloading

Redirecting...
Source code Website giới thiệu tour du lịch và đặt tour bằng Java 3 - Source code Website giới thiệu tour du lịch và đặt tour bằng Java

Source code Website giới thiệu tour du lịch và đặt tour bằng Java

by Phùng Tiếnin on October 21, 2021

Choose Your Desired Option(s)

Source code Website giới thiệu tour du lịch và đặt tour bằng Java

Tạo các bảng và thêm dữ liệu cho db

  • Tạo db tên tuỳ ý, vào src/main/resources/config.properties sửa lại các thuộc tính DBNAME, USER, PASSWORD.
  • Sau đó sử dụng terminal/cmd chạy các lệnh sau để tạo bảng và thêm dữ liệu:
mvn clean install
mvn exec:java -P create-tables
mvn exec:java -P populate-tables
  • Nếu muốn xoá hết các bảng và tạo lại dữ liệu cho db:
mvn exec:java -P setup-database

Cài đặt sử dụng docker

Cấu hình src/main/resources/config.properties và .env như sau:

2 - Source code Website giới thiệu tour du lịch và đặt tour bằng Java

  • Chạy docker compose up -d
  • Khởi tạo dữ liệu db (chạy lần lượt):
docker exec -it zerotohero-web bash
cd webapps/ROOT/WEB-INF/
java -classpath lib/*:classes/. com/zeroToHero/FinalProject/database/dbPrep/DBPrepMain setup-database
 

Source code Website giới thiệu tour du lịch và đặt tour bằng Java 3 - Source code Website giới thiệu tour du lịch và đặt tour bằng Java

 

Source code Website giới thiệu tour du lịch và đặt tour bằng Java 2 - Source code Website giới thiệu tour du lịch và đặt tour bằng Java

 

Download Category
Product Version
File Type JAVA, XML, YML, JSP
File Size 5.82 MB
Developer
Documentation

Release Information

  • Released
    :

    October 21, 2021

  • Last Updated
    :

    October 21, 2021

  • Categories
    :
  • File Included
    :

    JAVA, XML, YML, JSP

  • File Size
    :

    5.82 MB

Share Your Valuable Opinions

You must log in to submit a review.

  • Sign up
Password Strength Very Weak
Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.
We do not share your personal details with anyone.

Please wait a moment...

(Don't refresh or go back)