Skip to content

Commit

Permalink
[docs] update selfhosting docs
Browse files Browse the repository at this point in the history
  • Loading branch information
quinlanj authored and ide committed Dec 19, 2018
1 parent 1544417 commit d7904a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/versions/unversioned/distribution/hosting-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For simplicity, the rest of this article will refer to hosting an app for the An

## Export app

First, you’ll need to export all the static files of your app so they can be served from your CDN. To do this, run `expo export` in your project directory and it will output all your app’s static files to a directory named `dist`. Asset and bundle files are named by the md5 hash of their content. Your output directory should look something like this now:
First, you’ll need to export all the static files of your app so they can be served from your CDN. To do this, run `expo export --public-url <server-endpoint>` in your project directory and it will output all your app’s static files to a directory named `dist`. In this guide, we will use `https://quinlanj.github.io/self-host` as our example server endpoint. Asset and bundle files are named by the md5 hash of their content. Your output directory should look something like this now:
```
.
├── android-index.json
Expand Down
2 changes: 1 addition & 1 deletion docs/versions/v31.0.0/distribution/hosting-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For simplicity, the rest of this article will refer to hosting an app for the An

## Export app

First, you’ll need to export all the static files of your app so they can be served from your CDN. To do this, run `expo export` in your project directory and it will output all your app’s static files to a directory named `dist`. Asset and bundle files are named by the md5 hash of their content. Your output directory should look something like this now:
First, you’ll need to export all the static files of your app so they can be served from your CDN. To do this, run `expo export --public-url <server-endpoint>` in your project directory and it will output all your app’s static files to a directory named `dist`. In this guide, we will use `https://quinlanj.github.io/self-host` as our example server endpoint. Asset and bundle files are named by the md5 hash of their content. Your output directory should look something like this now:
```
.
├── android-index.json
Expand Down

0 comments on commit d7904a7

Please sign in to comment.