File tree 4 files changed +8
-6
lines changed
4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -75,4 +75,6 @@ pelican-plugins/
75
75
pelican-sober /
76
76
pelicanconf.py
77
77
78
+ # coineva
79
+ web1200
78
80
venv
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
#
3
3
# Coineva Website - Github and Odoo project scraper
4
- # (C) June 2017 by 1200 Web Development <http://1200wd.com/>
4
+ # (C) 2017-2020 by 1200 Web Development <http://1200wd.com/>
5
5
6
6
# Website settings
7
- WEBSITE_DIR = '/home/lennart/code /web-coineva/'
7
+ WEBSITE_DIR = '/var/www /web-coineva/'
8
8
9
9
# Python virtual environment settings
10
- VIRTUALENV = '/home/lennart/.virtualenvs/web1200 /'
10
+ VIRTUALENV = '/var/www/web-coineva/venv /'
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
# Create virtual environment
4
- virtualenv ~ /.virtualenvs/web1200
4
+ python3 -m venv venv
5
5
6
6
# Install required python modules
7
- ~ /.virtualenvs/web1200/ bin/pip install pelican markdown disqus-python
7
+ venv/ bin/pip3 install pelican markdown disqus-python
8
8
9
9
cp update.sh update.local.sh
10
10
Original file line number Diff line number Diff line change 2
2
3
3
WEBSITEDIR=' /var/www/web-coineva'
4
4
5
- source /var/www/web-coineva/.virtualenvs/web-coineva /bin/activate
5
+ source /var/www/web-coineva/venv /bin/activate
6
6
7
7
cd $WEBSITEDIR
8
8
git pull
You can’t perform that action at this time.
0 commit comments