Skip to content

Commit

Permalink
added page
Browse files Browse the repository at this point in the history
  • Loading branch information
CrumpLab committed Jan 28, 2019
1 parent e472db8 commit 9dff814
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
7 changes: 5 additions & 2 deletions docs/Journal.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
Expand Down Expand Up @@ -305,7 +308,7 @@ <h1 class="title toc-ignore">Journal</h1>
<p>This is an .Rmd file. It is plain text with special features. Any time you write just like this, it will be compiled to normal text in the website. If you put a # in front of your text, it will create a top level-header.</p>
<div id="my-first-post" class="section level1">
<h1>My first post</h1>
<p>2018 | 7 | 23 Last compiled: 2018-07-23</p>
<p>2018 | 7 | 23 Last compiled: 2019-01-28</p>
<p>Notice that whatever you define as a top level header, automatically gets put into the table of contents bar on the left.</p>
<div id="second-level-header" class="section level2">
<h2>Second level header</h2>
Expand All @@ -318,7 +321,7 @@ <h3>third level header</h3>
</div>
<div id="my-second-post-note-the-order" class="section level1">
<h1>My second post (note the order)</h1>
<p>2018 | 7 | 23 Last compiled: 2018-07-23</p>
<p>2018 | 7 | 23 Last compiled: 2019-01-28</p>
<p>I’m writing this tutorial going from the top down. And, this is how it will be printed. So, notice the second post is second in the list. If you want your most recent post to be at the top, then make a new post starting at the top. If you want the oldest first, do, then keep adding to the bottom</p>
</div>
<div id="adding-r-stuff" class="section level1">
Expand Down
3 changes: 3 additions & 0 deletions docs/Links.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
Expand Down
10 changes: 7 additions & 3 deletions docs/README.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
Expand Down Expand Up @@ -204,13 +207,14 @@

<div id="labjournalwebsite" class="section level1">
<h1>LabJournalWebsite</h1>
<p>An R Markdown website template for a lab journal</p>
<p>To use this, click the download as .zip button.</p>
<p>An R Markdown website template for a lab journal <a href="https://crumplab.github.io/LabJournalWebsite/index.html" class="uri">https://crumplab.github.io/LabJournalWebsite/index.html</a></p>
<p>To use this, click the download as .zip button to start from a local computer, or skip down to the github example to fork this and get started that way.</p>
<p>The unzipped folder contains all of the files you need to compile a website in R Markdown. This should all work fine if you have the latest version of R and R-studio installed.</p>
<div id="steps-for-compiling-on-your-local-computer" class="section level2">
<h2>Steps for compiling on your local computer</h2>
<ol style="list-style-type: decimal">
<li>Make sure R and R-studio are installed</li>
<li>Make sure the rmarkdown package is installed in R-studio. Open R-studio, click the packages tab in the lower left hand corner, click install packages, type in rmarkdown, make sure “install dependencies” is clicked on, then press install. Close R-studio.</li>
<li>Navigate to the folder you just downloaded, open the ‘LabJournalWebsite.Proj’ file. This should automatically open R-studio, and your current working environment will be inside this project. That means everything you save will be auto saved to this folder (unless you tell R-studio to save something somewhere else.</li>
<li>Inside R-studio you should see a files tab in the bottom right hand corner. Most files you click will be opened up as text files in the R-studio editor. Click the “Index.Rmd” file.</li>
<li>To compile the entire website, find the build tab in the top right hand corner. You should see the option to “build website”. Click this. The website should be built.</li>
Expand All @@ -220,7 +224,7 @@ <h2>Steps for compiling on your local computer</h2>
</div>
<div id="steps-for-serving-your-webpage-using-github-pages." class="section level2">
<h2>Steps for serving your webpage using github pages.</h2>
<p>This is the source code repository for making the webpage in R-studio. At the same time, the resulting website is being served from this repository at this link <a href="">add link</a>.</p>
<p>This is the source code repository for making the webpage in R-studio. At the same time, the resulting website is being served from this repository at this link <a href="https://crumplab.github.io/LabJournalWebsite/index.html" class="uri">https://crumplab.github.io/LabJournalWebsite/index.html</a>.</p>
<p>Every github repository has the capability of serving html files (web page files) contained in the repository, this is called github pages. How this works depends a little bit on the specific repository you are using. For this repository. The webpage is served from the docs folder. The example files are set so that when you compile the example in R-studio, the output automatically goes into the docs folder. As a result, when you have these files in a github repository, github will serve the html files in your docs folder as a website.</p>
<p><strong>Steps</strong></p>
<ol style="list-style-type: decimal">
Expand Down
3 changes: 3 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@
.tabbed-pane {
padding-top: 12px;
}
.html-widget {
margin-bottom: 20px;
}
button.code-folding-btn:focus {
outline: none;
}
Expand Down

0 comments on commit 9dff814

Please sign in to comment.