糖尿病网pc端官网
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.
 
 
 
 
 
kola-web 3cd3321dfa 隐私政策 8 months ago
.husky init 11 months ago
.nuxt 更换图片 9 months ago
dev init 11 months ago
src 隐私政策 8 months ago
.babelrc init 11 months ago
.deployment init 11 months ago
.editorconfig init 11 months ago
.env.bak init 11 months ago
.env.production init 11 months ago
.env.test init 11 months ago
.eslintrc.js init 11 months ago
.gitignore dist 10 months ago
.prettierignore init 11 months ago
.prettierrc init 11 months ago
README.md init 11 months ago
deploy.sh init 11 months ago
docker-compose.yml init 11 months ago
login-docker.sh init 11 months ago
nuxt.config.js init 11 months ago
package-lock.json init 11 months ago
package.json 3.3版本开发 11 months ago
package.json.bak init 11 months ago
pnpm-lock.yaml init 11 months ago
server.js init 11 months ago
web.config init 11 months ago

README.md

本地开发

使用nginx代理

  1. 安装docker
  2. 登录公司镜像库, user: dnurse_dev, pass:Dnurse@20171201
    docker login repo.dnurse.cn
  1. 修改.env中的环境变量为本机信息
  2. 运行命令
    docker-compose up -d # 启动并进入后台
    docker-compose restart # 重启
    docker-compose stop # 停止 
    docker-compose rm -f # 删除
    
    cd src #进入代码目录
    npm run start # 启动前端
  1. 访问 http://127.0.0.1/

不用代理

  1. 修改.env中的环境变量为本机信息
  2. 运行命令
  cd src #进入代码目录
  npm run start # 启动前端

3.访问 http://127.0.0.1/