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)
|
||||
|
||||
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
|
||||
|
@ -10,7 +10,9 @@
|
||||
with_items:
|
||||
- git
|
||||
- ansible
|
||||
- python3
|
||||
- python3-dev
|
||||
- python3-pip
|
||||
- python-virtualenv
|
||||
- libxml2-dev
|
||||
- libxslt1-dev
|
||||
@ -33,17 +35,17 @@
|
||||
ansible-playbook -i hosts site.yml --skip-tags "x11" -c local
|
||||
chdir=~/batcave
|
||||
|
||||
- name: create python environment and install packages
|
||||
- name: install blogging packages
|
||||
pip:
|
||||
name={{ item }}
|
||||
virtualenv=~/env
|
||||
virtualenv_command="virtualenv -p /usr/bin/python3"
|
||||
executable=pip3
|
||||
with_items:
|
||||
- pelican==3.6.3
|
||||
- markdown
|
||||
- ipython[notebook]==2.4.1
|
||||
- beautifulsoup4
|
||||
- cookiecutter
|
||||
sudo: yes
|
||||
|
||||
- name: clone pelican-plugins
|
||||
git:
|
||||
|
Loading…
Reference in New Issue
Block a user