voterunner

quick and dirty votes and discussions
git clone https://git.ce9e.org/voterunner.git

commit
80279109c43de13275beaa2c80994c7554b63968
parent
c5cfd7a0c4314376eb55d5bcae92ad693fc5fce6
Author
Tobias Bengfort <tobias.bengfort@gmx.net>
Date
2016-09-11 08:57
add information on how to compile static files

Diffstat

A Makefile 13 +++++++++++++
M README.md 10 ++++++++++

2 files changed, 23 insertions, 0 deletions


diff --git a/Makefile b/Makefile

@@ -0,0 +1,13 @@
   -1     1 all: static/voterunner.js static/markdown.js static/style.css
   -1     2 
   -1     3 static/voterunner.js: static/src/voterunner.js
   -1     4 	browserify $< > $@
   -1     5 
   -1     6 static/markdown.js: static/src/markdown.js
   -1     7 	browserify $< > $@
   -1     8 
   -1     9 static/style.css: static/scss/*.scss
   -1    10 	node-sass static/scss/style.scss > $@
   -1    11 
   -1    12 clean:
   -1    13 	rm static/voterunner.js static/markdown.js static/style.css

diff --git a/README.md b/README.md

@@ -79,6 +79,16 @@ lines will bring it up:
   79    79         info  - Listening on 5000
   80    80 
   81    81 
   -1    82 Development
   -1    83 -----------
   -1    84 
   -1    85 The repository contains all necessary compiled files. If you want to edit the
   -1    86 code yourself you will need to install
   -1    87 [node-sass](https://www.npmjs.com/package/node-sass) and
   -1    88 [browserify](https://www.npmjs.com/package/browserify). Once these requirements
   -1    89 are met, you can simply run `make`.
   -1    90 
   -1    91 
   82    92 API
   83    93 ---
   84    94