Skip to content

Commit

Permalink
Update 03-deploy.Rmd (rstudio#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
Peng Zhao authored and yihui committed Mar 10, 2019
1 parent df498ce commit 6af9757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/03-deploy.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Netlify is the only solution in this chapter that does not require you to prebui

Updog (https://updog.co) provides\index{Updog} a simple service: it turns a specified Dropbox (or Google Drive) folder into a website. The idea is that you grant Updog the permission to read the folder, and it will act as a middleman to serve your files under this folder to your visitors. This folder has to be accessed via a domain name, and Updog offers a free subdomain `*.updog.co`. For example, if you have assigned the domain `example.updog.co` to your Dropbox folder, and a visitor wants to see the page `https://example.updog.co/foo/index.html`, Updog will read the file `foo/index.html` in your Dropbox folder and display it to the visitor.

At the moment, Updog's free plan only allows one website per account and will insert a footer "Hosted on Updog" on your web pages. You may not like these limitations. The major benefit of using Updog is that publishing a website becomes implicit since Dropbox will continuously sync files. All you need to do is to make sure your website is generated to the correct Dropbox folder. This can be easily achieved by setting the option `publishDir` in `config.toml`. For example, suppose the folder that you assign to Updog is `~/Dropbox/Apps/updog/my-website/`, and your source folder is at `~/Dropbox/Apps/updog/my-source/`, then you can set `publishDir: "../my-website"` in `~/Dropbox/Apps/updog/my-source/config.toml`.
At the moment, Updog's free plan only allows one website per account and will insert a footer "Hosted on Updog" on your web pages. You may not like these limitations. The major benefit of using Updog is that publishing a website becomes implicit since Dropbox will continuously sync files. All you need to do is to make sure your website is generated to the correct Dropbox folder. This can be easily achieved by setting the option `publishDir` in `config.toml`. For example, suppose the folder that you assign to Updog is `~/Dropbox/Apps/updog/my-website/`, and your source folder is at `~/Dropbox/Apps/updog/my-source/`, then you can set `publishDir = "../my-website"` in `~/Dropbox/Apps/updog/my-source/config.toml`.

You can also use your custom domain name if you do not want the default Updog subdomain, and you only need to point the CNAME record of your domain name to the Updog subdomain.^[See Appendix \@ref(domain-name) for more information.]

Expand Down

0 comments on commit 6af9757

Please sign in to comment.