• l3_496723
    了解作者
  • 132.5KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-17 01:16
    上传日期
订酒店 部署到Heroku git push heroku主 API文档 在本地运行应用#克隆存储库git clone cd酒店预订 #视窗mvnw.cmd全新安装 #在本地运行该应用。 如果要创建Docker映像并运行Docker容器,请不要运行此命令java -jar target \ gk-hotel-booking-1.0-SNAPSHOT.jar #跳过以上步骤(在本地运行应用程序)并使用以下步骤创建docker映像并作为docker容器运行docker build -f dockerfile -t gk-hotel-booking。 #检查图像是否创建成功,您应该使用REPOSITORY gk-hotel-booking查看图像码头工人图像 #启动Docker容器docker run -d -p 8080:8080 --name gkhotelbooking gk酒店预
hotel-booking-master.zip
内容介绍
# hotel-booking <b>Deploy to Heroku</b><br> git push heroku master <b>API documentation</b><br> https://gk-booking-app.herokuapp.com/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config <b>Running the app locally</b><br> #Clone the repository<br> git clone https://github.com/nandanabhi0312/hotel-booking.git<br> cd hotel-booking #Windows<br> mvnw.cmd clean install #Run the app locally. Do not run this if you want to create a docker image and run docker container<br> java -jar target\gk-hotel-booking-1.0-SNAPSHOT.jar #Skip the above step (Run the app locally) and use the following steps to create docker image and run as docker container<br> docker build -f Dockerfile -t gk-hotel-booking . #Check if the image is created successfully, You should see an image with REPOSITORY gk-hotel-booking<br> docker images #Start the docker container<br> docker run -d -p 8080:8080 --name gkhotelbooking gk-hotel-booking <b>API Documentation</b><br> http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
评论
    相关推荐