Browse Source

fix: use default python

Signed-off-by: QuentinN42 <quentin@lieumont.fr>
master
QuentinN42 7 months ago
parent
commit
849517562c
Signed by untrusted user: number42 GPG Key ID: 2CD7D563712B3A50
  1. 6
      Makefile
  2. 2
      deploy.sh

6
Makefile

@ -3,8 +3,8 @@
all: setup build
build:
bash -c 'source ${PWD}/.venv/bin/activate && python3.10 -m builder'
bash -c 'source ${PWD}/.venv/bin/activate && python3 -m builder'
setup:
python3.10 -m venv .venv
bash -c 'source ${PWD}/.venv/bin/activate && python3.10 -m pip install --upgrade pip && python3.10 -m pip install -r requirements.txt'
python3 -m venv .venv
bash -c 'source ${PWD}/.venv/bin/activate && python3 -m pip install --upgrade pip && python3 -m pip install -r requirements.txt'

2
deploy.sh

@ -2,6 +2,8 @@
# ARGUMENTS:
# $1: Website location
git pull
touch /tmp/site_gen_logs
tail -f /tmp/site_gen_logs | logger -t "rezelator" -s -p "error" &

Loading…
Cancel
Save