Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 16c60e3

Browse files
authored
📚 add Procfile info; clarify next steps after Quickstart
1 parent c8f0a45 commit 16c60e3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Deploy React.js web apps generated with [create-react-app](https://github.com/fa
1313
1. [Commit & deploy ♻️](#user-content-commit--deploy-️)
1414
1. [Continue Development](#user-content-continue-development)
1515
* 👓 [Customization](#user-content-customization)
16+
* [Procfile](#user-content-procfile)
1617
* [Web server](#user-content-web-server)
1718
* [Routing clean URLs](#user-content-routing-clean-urls)
1819
* [HTTPS-only](#user-content-https-only)
@@ -70,7 +71,10 @@ git push heroku master
7071
heroku open
7172
```
7273

73-
For explanation about these steps, continue reading the next section.
74+
Once deployed, [continue development](#user-content-continue-development) 🌱
75+
76+
For explanation about these steps, continue reading the [next section](#user-content-usage).
77+
7478

7579
Usage
7680
-----
@@ -138,6 +142,16 @@ Eventually, to share, collaborate, or simply back-up your code, [create an empty
138142
Customization
139143
-------------
140144

145+
### Procfile
146+
147+
Heroku apps declared what processes are launched for a successful deployment by way of the [`Procfile`](https://devcenter.heroku.com/articles/procfile). This buildpack's default process comes from [`heroku/static` buildpack](https://github.com/heroku/heroku-buildpack-static). (See: 🏙 [Architecture](#user-content-architecture-)). The implicit `Procfile` to start the static web server is:
148+
149+
```
150+
web: bin/boot
151+
```
152+
153+
To customize an app's processes, commit a `Procfile` and deploy. Include `web: bin/boot` to launch the default web process, or you may replace the default web process. Additional [process types](https://devcenter.heroku.com/articles/procfile#declaring-process-types) may be added to run any number of dynos with whatever arbitrary commands you want, and scale each independently.
154+
141155
### Web server
142156

143157
The web server may be [configured via the static buildpack](https://github.com/heroku/heroku-buildpack-static#configuration).

0 commit comments

Comments
 (0)