邓淳远、崔鹏宇、翁思扬组云计算期末项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
wengsy a719cb3f8f add readme 4 years ago
.idea fix:url 删除 4 years ago
APP fix conflict 删除 4 years ago
mysql final 删除 4 years ago
README.md add readme 4 years ago
docker-compose.yml final 4 years ago
requirements.txt final 4 years ago

README.md

邓淳远、崔鹏宇、翁思扬组云计算期末项目

云主机防火墙需要开放5000端口

使用镜像配置

镜像id:uimage-xmqerqhh
用户名:10185101272@stu.ecnu.edu.cn
密码:wsy150943

更新IP配置

cd /root/Personal-Collections-Website/APP
export IP=当前云主机IP
bash ./get_ip.sh

使用docker compose进行配置,运行

systemctl start docker
systemctl stop mysqld
docker-compose build
docker-compose up

使用docker配置

前期环境配置(以centos7为例)

安装docker

curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
systemctl start docker

安装docker compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

安装git

yum install git

部署项目

clone仓库

git clone https://github.com/LOGIC0805/Personal-Collections-Website.git

更新IP配置

cd ./Personal-Collections-Website/APP
export IP=当前云主机IP
bash ./get_ip.sh

使用docker compose进行配置

docker-compose build

运行项目

docker-compose up

访问端口5000