forked from python/getpython3.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
20 lines (14 loc) · 675 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
to build:
mkvirtualenv getpython3
pip install blogofile
cd site
blogofile build
open _site/index.html
If you install fabric, you can run:
fab build_site
Working with the styles:
install lessc (on ubuntu: apt-get install npm, then npm install less)
cd site
./build-styles.bash
Alternatively, you can seek out your own less compiler. See the build-styles.bash script for which less file to compile to where.
During development, it may be easier to use less.js which will compile the less styles into css per-page-view. To do this, see the comments in head.mako (basically uncomment 2 lines, and comment another -- don't forget to switch back before deploying to prod).