Commit 1c2613d841d4fd551b82b015b39b434416e78f0a
1 parent
c1ffb8e7
chore: update ubuntu-install.sh
Showing
1 changed file
with
24 additions
and
45 deletions
deploy/ubuntu-install.sh
| ... | ... | @@ -2,81 +2,60 @@ |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | ### |
| 5 | -# @Author: ly525 | |
| 5 | + # @Author: ly525 | |
| 6 | 6 | # @Date: 2019-11-30 13:24:57 |
| 7 | - # @LastEditors: ly525 | |
| 8 | - # @LastEditTime: 2019-12-04 21:13:20 | |
| 7 | + # @LastEditors : ly525 | |
| 8 | + # @LastEditTime : 2020-01-05 16:22:19 | |
| 9 | 9 | # @FilePath: /luban-h5/deploy/ubuntu-install.sh |
| 10 | 10 | # @Github: https://github.com/ly525/luban-h5 |
| 11 | 11 | # @Description: |
| 12 | 12 | ## #!en: One-Click Setup Script to Install Luban-H5 on Ubuntu 18.04 |
| 13 | 13 | ## #!zh: 鲁班H5 Ubuntu18.04 一键安装脚本 |
| 14 | 14 | # @Copyright 2018 - 2019 luban-h5. All Rights Reserved |
| 15 | - ### | |
| 15 | +### | |
| 16 | 16 | |
| 17 | -## !en: | |
| 18 | -###################################################### | |
| 19 | -# One-Click Setup Script to Install Luban-H5 on Ubuntu 18.04 | |
| 20 | 17 | ###################################################### |
| 18 | +# #!zh [鲁班H5] Ubuntu18.04 一键安装脚本 | |
| 21 | 19 | |
| 22 | - | |
| 23 | -###################################################### | |
| 24 | -# Step1: Download && Run the Script | |
| 20 | +# [一、本地一键安装步骤] | |
| 25 | 21 | # docker pull ubuntu |
| 26 | 22 | # docker run -it -p 1234:80 -p 1235:1337 -v `pwd`:/app ubuntu |
| 27 | 23 | # wget -qO- https://raw.githubusercontent.com/ly525/luban-h5/dev/deploy/ubuntu-install.sh | bash |
| 28 | -###################################################### | |
| 29 | - | |
| 30 | -###################################################### | |
| 31 | -# Step2: After the Script Runs | |
| 32 | -# 1. Luban H5 Admin | |
| 33 | -# 1.1 visit on your host machine:http://localhost:1234/admin, custom the username and password, then login the admin | |
| 34 | -# 1.2 config the permission,see more here:https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html#%E5%90%8E%E7%AB%AF%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA | |
| 35 | 24 | |
| 36 | -# 2. Luban H5 Front-End | |
| 37 | -# 2.1visit on your host machine :http://localhost:1234, enjoy it! | |
| 38 | -###################################################### | |
| 25 | +# [二、安装完成之后,在浏览器中的访问鲁班的步骤] | |
| 26 | +# 1. 鲁班后台 | |
| 27 | +# 1.1 宿主机访问 [鲁班后台]:http://localhost:1234/admin,自定义配置账号密码,登录即可 | |
| 28 | +# 1.2 配置相关权限,文档参见:https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html#%E5%90%8E%E7%AB%AF%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA | |
| 39 | 29 | |
| 40 | -###################################################### | |
| 41 | -# Feedback | |
| 30 | +# 2. 鲁班前端 | |
| 31 | +# 2.1 宿主机访问 「鲁班前端」:http://localhost:1234, 即可看到鲁班的前端了 | |
| 42 | 32 | |
| 43 | -# GitHub:https://github.com/ly525/luban-h5/issues | |
| 33 | +# [三、问题反馈] | |
| 34 | +# GitHub:https://github.com/ly525/luban-h5 | |
| 44 | 35 | ###################################################### |
| 45 | 36 | |
| 46 | 37 | |
| 47 | -## #!zh | |
| 48 | -###################################################### | |
| 49 | -# [鲁班H5] Ubuntu18.04 一键安装脚本 | |
| 50 | 38 | ###################################################### |
| 39 | +# #!en One-Click Setup Script to Install Luban-H5 on Ubuntu 18.04 | |
| 51 | 40 | |
| 52 | - | |
| 53 | -###################################################### | |
| 54 | -# [本地一键安装步骤] | |
| 41 | +# [Step1: Download && Run the Script] | |
| 55 | 42 | # docker pull ubuntu |
| 56 | 43 | # docker run -it -p 1234:80 -p 1235:1337 -v `pwd`:/app ubuntu |
| 57 | 44 | # wget -qO- https://raw.githubusercontent.com/ly525/luban-h5/dev/deploy/ubuntu-install.sh | bash |
| 58 | -###################################################### | |
| 59 | - | |
| 60 | -###################################################### | |
| 61 | -# [安装完成之后] | |
| 62 | -# 1. 鲁班后台 | |
| 63 | -# 1.1 宿主机访问 [鲁班后台]:localhost:1234/admin,自定义配置账号密码,登录即可 | |
| 64 | -# 1.2 配置相关权限,文档参见:https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html#%E5%90%8E%E7%AB%AF%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA | |
| 65 | 45 | |
| 66 | -# 2. 鲁班前端 | |
| 67 | -# 2.1 宿主机访问 「鲁班前端」:localhost:1234, 即可看到鲁班的前端了 | |
| 68 | -###################################################### | |
| 46 | +# [Step2: After the Installation Finished, Visit Luban in the browser] | |
| 47 | +# 1. Luban H5 Admin | |
| 48 | +# 1.1 visit on your host machine:http://localhost:1234/admin, custom the username and password, then login the admin | |
| 49 | +# 1.2 config the permission,see more here:https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html#%E5%90%8E%E7%AB%AF%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA | |
| 69 | 50 | |
| 70 | -###################################################### | |
| 71 | -# [问题反馈] | |
| 51 | +# 2. Luban H5 Front-End | |
| 52 | +# 2.1 visit on your host machine :http://localhost:1234, enjoy it! | |
| 72 | 53 | |
| 73 | -# GitHub:https://github.com/ly525/luban-h5 | |
| 54 | +# [Feedback] | |
| 55 | +# GitHub:https://github.com/ly525/luban-h5/issues | |
| 74 | 56 | ###################################################### |
| 75 | 57 | |
| 76 | - | |
| 77 | 58 | # |
| 78 | -# | |
| 79 | - | |
| 80 | 59 | ## Variables |
| 81 | 60 | # |
| 82 | 61 | ... | ... |