-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try out screenshot creator as a part of the new Leanpub set up (#422)
* Try out screenshot creator * Fix spacing * Get rid of typo * fix argument spec * Fix git pat handling * Add copy over assets step * Try this * Try installing just the packages we need * Add install of remotes * Try using devtools instead * try set environ * Try to install R first * Add prereqs * Try rocker r-base * Put installations in script * Try different strategy * Switch to tidyverse * Make directory in bash * I guess I'm making this its own docker image * This isn't working but I want it in case I come back to it * Switch to wkhtmltopdf * Lets' try it * Trying leanbuild steps on their own dockerfile * Test build of leanbuild docker image * Try out webshot r package * fix file path to script * Oh. Actually fix it * Try installing webshot::install_phantomjs * Try installing phantomjs on its own first * Set this up * Build from jhudsl/course_template * Switch back to main dockerfile * assets problem * It works! * Revert "assets problem" This reverts commit 2aada9b. * Add markdown maker basics * Push this version before I delete things * Clean up * Delete the pdfs * Reconfig with latest ottr package changes * Turn on render again * Add PR instead * Move copying step * Add an :: that was missing * Fix arguments for getting pages url * misplaced quotes * Add make_book_txt = TRUE * It's working! Undo the commenting part * Set base to main * Revert "It's working! Undo the commenting part" This reverts commit 92e5081. * rm manuscript folder * Just commit to main
- Loading branch information
Showing
358 changed files
with
161 additions
and
101,696 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM jhudsl/course_template | ||
LABEL maintainer="[email protected]" | ||
|
||
# Install apt-getable packages to start | ||
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils dialog | ||
|
||
RUN apt-get install -y --no-install-recommends \ | ||
libxt6 \ | ||
libpoppler-cpp-dev \ | ||
vim \ | ||
libglpk40 \ | ||
curl \ | ||
gpg | ||
|
||
# Install R | ||
RUN apt-get update && apt-get install -y r-base curl | ||
|
||
# Install R packages | ||
RUN Rscript -e "install.packages('curl')" | ||
|
||
# Install phantomjs | ||
RUN apt-get update && apt-get install build-essential chrpath libssl-dev libxft-dev -y \ | ||
&& apt-get install libfontconfig1 libfontconfig1-dev -y \ | ||
&& cd ~ && export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64" \ | ||
&& wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2 \ | ||
&& sudo tar xvjf $PHANTOM_JS.tar.bz2 \ | ||
&& sudo mv $PHANTOM_JS /usr/local/share \ | ||
&& sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin \ | ||
&& phantomjs --version |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.