Coder Social home page Coder Social logo

环境部署 about blog HOT 5 OPEN

huoxiangdong avatar huoxiangdong commented on June 14, 2024
环境部署

from blog.

Comments (5)

huoxiangdong avatar huoxiangdong commented on June 14, 2024

npm更换源

npm config set registry https://registry.npm.taobao.org  
npm config list` ---查看更换

or:
npm install cnpm -g --registry=https://registry.npm.taobao.org

from blog.

huoxiangdong avatar huoxiangdong commented on June 14, 2024

tnvm node版本管理

wget -O- https://raw.githubusercontent.com/aliyun-node/tnvm/master/install.sh | bash
#export METHOD=script
# 使环境生效
source /root/.bashrc
# 查看版本
tnvm ls-remote node
#安装
tnvm install node-v7.0.0
#切换版本
tnvm use node-v7.0.0

from blog.

huoxiangdong avatar huoxiangdong commented on June 14, 2024

mysql补充

# 文件存放目录
show global variables like '%datadir%';

from blog.

huoxiangdong avatar huoxiangdong commented on June 14, 2024

后台进程

nohup npm run dev &

from blog.

huoxiangdong avatar huoxiangdong commented on June 14, 2024
# build
docker build -t="huoxiangdong/frp" .
# login
docker login
# 打标签
docker tag <existing-image> <hub-user>/<repo-name>[:<tag>]
# 上传
docker push <hub-user>/<repo-name>:<tag>
# 实例
docker tag huoxiangdong/frp huoxiangdong/frp:v0.0.1
docker push huoxiangdong/frp:v0.0.1

from blog.

Related Issues (20)

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.