uechi.io/source/_drafts/developing-web-apps.md

31 lines
411 B
Markdown
Raw Normal View History

2021-01-21 21:45:05 +09:00
---
title: Developing Web Apps in One Minutes
---
## 0. Setup Homebrew and Node
```
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
```
```
brew install node
```
## 1. Scaffold from template
```
npx express-generator --view=pug awesome-app
cd awesome-app
npm install
npm start
```
## 2. Deploy with Now
```
npm install -g now
now login
now --public
```