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

Commit 37fdba8

Browse files
authored
📚 doc updates: link to dashboard (resolves #3) & add Heroku app/buildpack context (resolves #4)
1 parent a447daf commit 37fdba8

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

‎README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,22 @@ cd my-app
3232
git init
3333
```
3434

35+
At this point, this new repo is local, only on your computer. Eventually, you may want to [push to Github](#push-to-github).
36+
3537
### Create the Heroku app
3638

3739
```bash
38-
heroku create -b https://github.com/mars/create-react-app-buildpack.git
40+
heroku create my-app-name --buildpack https://github.com/mars/create-react-app-buildpack.git
3941
```
4042

43+
✏️ *Replace `my-app-name` with a name for your unique app.*
44+
45+
This command:
46+
47+
* sets the [app name](https://devcenter.heroku.com/articles/creating-apps#creating-a-named-app) & its URL `https://my-app-name.herokuapp.com`
48+
* sets the [buildpack](https://devcenter.heroku.com/articles/buildpacks) to deploy a `create-react-app` app
49+
* configures the [`heroku` remote](https://devcenter.heroku.com/articles/git#creating-a-heroku-remote) in the local git repo, so `git push heroku master` will push to this new Heroku app.
50+
4151
### Commit & deploy ♻️
4252

4353
```bash
@@ -54,16 +64,18 @@ heroku open
5464

5565
### Visit the Heroku Dashboard for the app
5666

57-
```bash
58-
heroku browse
59-
```
67+
Find the app on [your dashboard](https://dashboard.heroku.com).
6068

6169
### Continue Development
6270

6371
Work with your app locally using `npm start`. See: [create-react-app docs](https://github.com/facebookincubator/create-react-app#getting-started)
6472

6573
Then, commit & deploy ♻️
6674

75+
### Push to Github
76+
77+
Eventually, to share, collaborate, or simply back-up your code, [create an empty repo at Github](https://github.com/new), and then follow the instructions shown on the repo to **push an existing repository from the command line**.
78+
6779

6880
Customization
6981
-------------

0 commit comments

Comments
 (0)