summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-24 17:06:26 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-24 17:06:26 +0200
commitd80c9fe69b35cf47bfd13b628c379c55d468c6fc (patch)
tree18cc35268a6e67ca7dcae4ec7039de4f5eea4b9c /Makefile
parent22c3bfee9148e1836817ef00b4829a8385570c69 (diff)
downloadtaler-merchant-demos-d80c9fe69b35cf47bfd13b628c379c55d468c6fc.tar.gz
taler-merchant-demos-d80c9fe69b35cf47bfd13b628c379c55d468c6fc.tar.bz2
taler-merchant-demos-d80c9fe69b35cf47bfd13b628c379c55d468c6fc.zip
Nora CSS and build system updates
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index faca678..cf1e299 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,48 @@ else
install: install-local
endif
+setup-arch:
+# TODO: We should probabally add some form of "ignore me if already completed"
+ set -e
+ echo "WARN: This script has not been tested! Use with caution."
+ echo "Upgrading System & Installing Python..."
+ sudo pacman -Syu --noconfirm python python-pip python-flask-babel python-poetry python-babel
+ echo "Configuring..."
+ ./configure --destination=local
+ echo "Installing Pip Dependencies..."
+ echo "-> Installing uwsgi..."
+ pip install uwsgi
+ echo "-> Installing lxml..."
+ pip install lxml
+# NOTE: This is likely redundant now!
+ echo "Installing NPM..."
+ sudo pacman -S npm
+ echo "Upgrading NodeJS..."
+ npm i -g npm node
+ echo "Done!"
+
+setup-deb:
+# TODO: We should probabally add some form of "ignore me if already completed"
+ set -e
+ echo "WARN: This script has not been tested! Use with caution."
+ echo "Updating Package Repositories..."
+ sudo apt update -y
+ echo "Installing python, python-flask-babel, python-pip, python-is-python3..."
+ sudo apt install -y python3 python-flask-babel python-pip python-is-python3
+ echo "Configuring..."
+ ./configure --destination=local
+ echo "Installing Pip Dependencies..."
+ echo "-> Installing uwsgi..."
+ pip install uwsgi
+ echo "-> Installing lxml..."
+ pip install lxml
+# NOTE: This is likely redundant now!
+ echo "Installing NPM..."
+ sudo apt install npm
+ echo "Upgrading NodeJS..."
+ npm i -g npm node
+ echo "Done!"
+
.PHONY: install-global
install-global: compile
poetry build -f wheel