Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aeaa7dc
commit fb53ee8
Showing
1 changed file
with
14 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,31 @@ | ||
Install | ||
------- | ||
|
||
$ virtualenv --no-site-packages . | ||
$ activate bin/source | ||
$ pip install blogofile | ||
:: | ||
|
||
$ git clone https://github.com/iElectric/domenkozar.com.git | ||
$ virtualenv --no-site-packages . | ||
$ activate bin/source | ||
$ pip install blogofile | ||
|
||
Generate static site | ||
-------------------- | ||
|
||
blogofile build -s domenkozar.com | ||
:: | ||
|
||
blogofile build -s domenkozar.com | ||
|
||
Deploy | ||
------ | ||
|
||
rsync -avz --delete site.com/_site/ www-data@server:/var/www/www.site.com/ | ||
:: | ||
|
||
rsync -avz --delete site.com/_site/ www-data@server:/var/www/www.site.com/ | ||
|
||
|
||
Generate pygments.css | ||
--------------------- | ||
|
||
:: | ||
|
||
pygmentize -f html -S monokai -a .highlight > pygments.css |