-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
39 lines (32 loc) · 855 Bytes
/
Makefile
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
default: pdf
bash:
docker run -it -v $(shell pwd):/source --name bash joshuacook/miniconda /bin/bash
docker rm bash
clean_docker:
docker rm $(docker ps -aq)
jupyter:
docker run -v $(shell pwd):/home/jovyan/work --name jupyter -d -p 80:8888 joshuacook/datascience
notebook:
docker run -d \
-p 27017:27017 \
-v $(pwd)/data:/data/db \
--name mongo \
mongo
docker run -it \
-v $(shell pwd):/source \
--name miniconda \
--link mongo:mongo \
joshuacook/miniconda python src/notebook.py
docker rm miniconda mongo
pdf:
pandoc doc/latent_semantic_analysis.md \
-t latex \
-H doc/fix.tex \
--toc \
-f markdown+tex_math_double_backslash \
-o doc/latent_semantic_analysis.pdf \
--latex-engine=xelatex
test_binaries:
python3 test/binaries.py
watch_and_make:
while true; do kqwait doc/latent_semantic_analysis.md; make; done