luozyiii / fe-cli-server

【作废】fe-cli 脚手架服务迁移到https://github.com/luozyiii/nest-best

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fe-cli-server

fe-cli 脚手架服务

QuickStart

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm start

部署

# 拉取代码
cd /root
git clone https://github.com/luozyiii/fe-cli-server.git
cd fe-cli-server
# 创建镜像
docker build -t fe-cli-server:v1.0 ./
# 创建启动容器
docker run -d -p 7003:7001 --name fe-cli-server ed83d5ff6832(镜像id)
# 7003 外网映射端口
# 7001 容器内部端口

About

【作废】fe-cli 脚手架服务迁移到https://github.com/luozyiii/nest-best


Languages

Language:JavaScript 88.3%Language:Dockerfile 11.7%