用于安装配方的最小启动器
请注意,默认情况下,该启动程序不包含任何页面。
此启动程序是对Gatsby项目的最小复制,以便于安装配方。
:rocket: 快速开始
创建一个Gatsby网站。
使用Gatsby CLI创建一个新站点,并指定最小的启动器。
# create a new Gatsby site using the minimal starter
gatsby new my-site https://github.com/gatsbyjs/gatsby-starter-minim
欢迎使用URL-SHORTENER
单击此链接签出此使用Node.js和expressjs构建的URL缩短程序API。 (此部署的链接较旧)
安装
先决条件
节点
社区服务器。
本地设置
从项目根目录运行npm install 。
启动mongoDB。
从项目根目录npm start运行npm start 。
如果一切顺利,您应该在控制台Server started on localhost:3000看到“ Server started on localhost:3000启动”。
访