Snippetors / snippets

code snippets, copy & run
http://snippets.ink/
MIT License
9 stars 5 forks source link

TODO list #2

Open LucienZhang opened 3 years ago

LucienZhang commented 3 years ago
LucienZhang commented 3 years ago

如何开发/测试

  1. 安装node14
  2. 安装yarn
  3. clone repo
  4. yarn install
  5. yarn dev

如何用docker测试

git clone git@github.com:Snippetors/snippets.git
cd snippets
docker build -t snippets .
docker run -it -p 8080:80 snippets

打开浏览器,访问 http://localhost:8080/

主要文件

  1. 主要配置、目录
  2. hello world 页面
  3. 代码片段库

 主要环境参数

  1. node 14
  2. yarn
  3. vuepress 2