Git Product home page Git Product logo

block-chain-mobile's Introduction

Vue 3 + TypeScript + Vite + Vant

初始化

yarn yarn dev

打包

yarn build 运行打包的代码 serve -s dist

部署

  1. 打包 yarn build
  2. docker构建 docker build -t='block-chain-mobile' .
  3. 本地运行,校验是否能运行
  4. dockerhub 创建仓库
  5. 给镜像打标签 docker tag xxx liyong1949/block-chain-mobile:latest (xxx表示镜像ID)
  6. 推送到仓库 docker push liyong1949/block-chain-mobile:latest
  7. 登录服务器 登录dockerhub
  8. 拉取镜像 docker pull block-chain-mobile:latest
  9. 查看是否已有该镜像运行的实例,若有执行停止 docker stop xxx,删除 docker rm xxx
  10. 运行 docker run -d -p 80:80 --name block-chain-mobile liyong1949/block-chain-mobile:latest

block-chain-mobile's People

Watchers

Lion Li avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.