Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (32 sloc) 1.07 KB
all: render-pdf render-epub render-gitbook
docker-deploy: docker-login docker-upload
docker-login:
docker login --username=$(DOCKER_USERNAME) --password=$(DOCKER_PASSWORD)
docker-upload:
docker push poldrack/statsthinking21
docker-build:
docker build -t $(DOCKER_USERNAME)/statsthinking21 .
shell:
docker run -it --entrypoint=bash $(DOCKER_USERNAME)/statsthinking21
deploy:
bash deploy.sh
clean:
rm -rf _bookdown_files bookdown-demo.*
render-gitbook:
cp _gitbook_99-References.Rmd 99-References.Rmd
echo "bookdown::render_book('index.Rmd', 'bookdown::gitbook')" | R --no-save
rm 99-References.Rmd
render-epub:
cp _gitbook_99-References.Rmd 99-References.Rmd
echo "bookdown::render_book('index.Rmd', 'bookdown::epub_book')" | R --no-save
rm 99-References.Rmd
render-pdf:
echo "rendering pdf - TBD"
cp _latex_99-References.Rmd 99-References.Rmd
echo "bookdown::render_book('index.Rmd', 'bookdown::pdf_book')" | R --no-save
rm 99-References.Rmd
pkgsetup:
cd setup && python get_packages.py
git add setup/package_installs.R
git commit -m"update packages"
git push
You can’t perform that action at this time.