File tree 1 file changed +6
-10
lines changed
packages/react-scripts/template
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1774,27 +1774,23 @@ When you build the project, Create React App will place the `public` folder cont
1774
1774
1775
1775
### Now
1776
1776
1777
- [now](https://zeit.co/now) offers a zero-configuration single-command deployment.
1777
+ [now](https://zeit.co/now) offers a zero-configuration single-command deployment. You can use `now` to deploy your app for free.
1778
1778
1779
1779
1. Install the `now` command-line tool either via the recommended [desktop tool](https://zeit.co/download) or via node with `npm install -g now`.
1780
1780
1781
- 2. Install `serve` by running `npm install --save serve `.
1781
+ 2. Build your app by running `npm run build `.
1782
1782
1783
- 3. Add this line to `scripts` in `package.json`:
1783
+ 3. Move into the build directory by running `cd build`.
1784
1784
1785
- ```
1786
- "now-start": "serve -s build/",
1787
- ```
1788
-
1789
- 4. Run `now` from your project directory. You will see a **now.sh** URL in your output like this:
1785
+ 4. Run `now --name your-project-name` from within the build directory. You will see a **now.sh** URL in your output like this:
1790
1786
1791
1787
```
1792
- > Ready! https://your-project-dirname -tpspyhtdtk.now.sh (copied to clipboard)
1788
+ > Ready! https://your-project-name -tpspyhtdtk.now.sh (copied to clipboard)
1793
1789
```
1794
1790
1795
1791
Paste that URL into your browser when the build is complete, and you will see your deployed app.
1796
1792
1797
- Details are available in [this article.](https://zeit.co/blog/now -static)
1793
+ Details are available in [this article.](https://zeit.co/blog/unlimited -static)
1798
1794
1799
1795
### S3 and CloudFront
1800
1796
You can’t perform that action at this time.
0 commit comments