dont use virtualenv
instead its installing pelican and stuff in the system itself. i think for this docker container this should be ok. and one less command to publish.
This commit is contained in:
parent
28746b905b
commit
5a03ca371d
2
Makefile
2
Makefile
@ -114,6 +114,6 @@ github: publish
|
|||||||
git push origin $(GITHUB_PAGES_BRANCH)
|
git push origin $(GITHUB_PAGES_BRANCH)
|
||||||
|
|
||||||
newpost:
|
newpost:
|
||||||
python $(BASEDIR)/newpost.py
|
python3 $(BASEDIR)/newpost.py
|
||||||
|
|
||||||
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github
|
.PHONY: html help clean regenerate serve devserver publish ssh_upload rsync_upload dropbox_upload ftp_upload s3_upload cf_upload github
|
||||||
|
@ -10,7 +10,9 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- git
|
- git
|
||||||
- ansible
|
- ansible
|
||||||
|
- python3
|
||||||
- python3-dev
|
- python3-dev
|
||||||
|
- python3-pip
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
- libxml2-dev
|
- libxml2-dev
|
||||||
- libxslt1-dev
|
- libxslt1-dev
|
||||||
@ -33,17 +35,17 @@
|
|||||||
ansible-playbook -i hosts site.yml --skip-tags "x11" -c local
|
ansible-playbook -i hosts site.yml --skip-tags "x11" -c local
|
||||||
chdir=~/batcave
|
chdir=~/batcave
|
||||||
|
|
||||||
- name: create python environment and install packages
|
- name: install blogging packages
|
||||||
pip:
|
pip:
|
||||||
name={{ item }}
|
name={{ item }}
|
||||||
virtualenv=~/env
|
executable=pip3
|
||||||
virtualenv_command="virtualenv -p /usr/bin/python3"
|
|
||||||
with_items:
|
with_items:
|
||||||
- pelican==3.6.3
|
- pelican==3.6.3
|
||||||
- markdown
|
- markdown
|
||||||
- ipython[notebook]==2.4.1
|
- ipython[notebook]==2.4.1
|
||||||
- beautifulsoup4
|
- beautifulsoup4
|
||||||
- cookiecutter
|
- cookiecutter
|
||||||
|
sudo: yes
|
||||||
|
|
||||||
- name: clone pelican-plugins
|
- name: clone pelican-plugins
|
||||||
git:
|
git:
|
||||||
|
Loading…
Reference in New Issue
Block a user