LOADING

加载过慢请开启缓存 浏览器默认开启

搭建一个高仿小红书的网站

今天这期视频我要教大家用雨云来搭建一个高仿小红书的网站。

安装1p:

bash -c “$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)”

安装docker:

bash <(curl -sSL https://linuxmirrors.cn/docker.sh)

项目源码:

https://github.com/ZTMYO/XiaoShiLiu/archive/refs/heads/master.zip

前端环境变量:

VITE_API_BASE_URL=http://localhost:3001/api

后端环境变量:

DB_HOST=1Panel-mysql-lDjS

DB_USER=xiaoshiliu

DB_PASSWORD=5YW2pbMr8Zmdk5AX

DB_NAME=xiaoshiliu

DB_PORT=3306

IMAGE_UPLOAD_STRATEGY=local

LOCAL_BASE_URL=http://localhost:3001

默认账号为admin,密码为123456