Skip to content

Commit c10c866

Browse files
committed
Added deployment instructions
1 parent ec3a026 commit c10c866

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
.env.test.local
1717
.env.production.local
1818

19+
.netlify
20+
1921
npm-debug.log*
2022
yarn-debug.log*
2123
yarn-error.log*

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@ rename it to `engine.json` and configure it with your Engine's specific details.
7777
cp src/config/engine.json.example src/config/engine.json
7878
```
7979

80+
## Deploy and Share
81+
82+
This app can be easily published to any server as static assets and served. We recommend [Netlify](https://www.netlify.com/), but you have other [options](https://facebook.github.io/create-react-app/docs/deployment) as well.
83+
84+
To deploy:
85+
86+
```
87+
npm run build
88+
npm install netlify-cli -g
89+
netlify deploy # enter ./build as the deploy path
90+
```
91+
92+
You'll then simply follow the command prompt to log into Netlify and deploy your site. This can be
93+
8094
## Understanding the Reference UI Code
8195

8296
In addition to previewing your data in a UI, this project can also be used as a code reference. Here's a quick primer on this project's code setup, to help you understand how it's put together.

0 commit comments

Comments
 (0)