-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (123 loc) · 5.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Welcome to Shiny Server!</title>
<style type="text/css">
body, html {
font-family: Helvetica, Arial, sans-serif;
background-color: #F5F5F5;
color: #114;
margin: 0;
padding: 0;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#titleBar {
height: 80px;
background-color: #3475b4;
overflow: hidden;
border-bottom: 1px solid #3475b3;
-moz-box-shadow: 0px 0px 10px 3px #BBC;
-webkit-box-shadow: 0px 0px 10px 3px #BBC;
box-shadow: 0px 0px 10px 3px #BBC;
}
#titleBar #container {
margin-top: 14px;
}
#titleBar h1 {
margin: 0 auto .5em auto;
padding: .2em;
color: #EEE;
text-align: center;
}
#intro {
background-color: #DDD;
margin: 1em 1em 0 1em;
padding: .75em;
text-align: center;
border: 1px solid #CCC;
font-size: 18px;
}
#intro p {
margin: .3em 0 .3em 0;
}
#outer-content {
max-width: 910px;
margin-left: auto;
margin-right: auto;
}
#content {
margin: 1em auto 1em auto;
float: left;
}
#main{
margin-right: 350px;
float: left;
line-height: 24px;
}
#shiny{
float: left;
width: 305px;
margin-left: -330px;
padding-left: 20px;
border-left: 1px solid #AAA;
}
#shiny iframe {
margin-top: 30px;
}
.caption{
font-size: 13px;
}
code {
background-color: #E5E5E5;
border: 1px solid #AAA;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
padding: 0 .5em 0 .5em;
}
</style>
</head>
<body>
<div id="titleBar">
<div id="container">
<h1>Welcome to Shiny Server!</h1>
</div>
</div>
<div id="outer-content">
<div id="intro">
<p>If you're seeing this page, that means Shiny Server is installed and running. <strong>Congratulations!</strong> </p>
</div>
<div id="content">
<div id="main">
<h2>What's Next?</h2>
Now you're ready to setup Shiny — if you haven't already — and start deploying your Shiny applications.
<p>If you see a Shiny application running on the right side of this page, then Shiny is configured properly on your server and already running an example. Bravo! You can see this application on your server at <a href="./sample-apps/hello/">/sample-apps/hello/</a>.</p>
<p>If you see a gray box or an error message, then there's a bit more work to do to get Shiny running fully. You can continue with <a href="http://www.rstudio.com/shiny/server/install-opensource">the installation instructions</a> or use <a href="http://rstudio.github.io/shiny-server/latest/">the Admin Guide</a> for more information. If you're seeing an error message in the panel to the right, you can use it to help diagnose what may be wrong. If you think Shiny is installed and setup properly and things still aren't working, you can look in the Shiny Server log which may have more information about what's wrong. By default, the log is stored in <code>/var/log/shiny-server.log</code>.</p>
<p>If you're really stuck <em>and you've read the relevant sections in <a href="http://rstudio.github.io/shiny-server/latest/">the Admin Guide</a></em> then please ask for help on <a href="https://groups.google.com/forum/#!forum/shiny-discuss">the mailing list</a>.</p>
<h2><pre>rmarkdown</pre></h2>
<p>Once you have Shiny working properly (the top application on the right sidebar), you can optionally proceed to setup rmarkdown to enable your server to host Shiny docs using the <code>rmarkdown</code> package.</p>
<p>Once you have <code>rmarkdown</code> installed, the lower example to the right should also be available. Once both examples are running, you're all set to host both Shiny applications and Shiny docs!</p>
<h2>All Done?</h2>
<p>Once you can see the Shiny application on the right, you're off to the races! You can look at <a href="http://shiny.rstudio.com">shiny.rstudio.com</a> to take a deeper dive into Shiny or take a look at some of the <a href="http://rstudio.github.io/shiny-server/latest/#quick-start">Shiny Server Quick Start Guides</a> to learn about some of the different things Shiny Server can do.</p>
<p>When you're all setup, you can delete this page and/or the sample applications we installed for you if you don't want them anymore. You can delete this page by running <code>sudo rm /srv/shiny-server/index.html</code> or delete the sample applications by running <code>sudo rm -rf /srv/shiny-server/sample-apps</code>.</p>
</div>
<div id="shiny">
<iframe src="./sample-apps/hello/" style="border: 1px solid #AAA; width: 290px; height: 460px"></iframe>
<div class="caption">
When Shiny is properly configured on your server, you'll see a Shiny app above.
</div>
<iframe src="./sample-apps/rmd/" style="border: 1px solid #AAA; width: 290px; height: 420px"></iframe>
<div class="caption">
With Shiny and <code>rmarkdown</code> installed, you should see a Shiny doc above.
</div>
</div>
</div>
</div>
</body>
</html>