aboutsummaryrefslogtreecommitdiff
path: root/README.debian
diff options
context:
space:
mode:
Diffstat (limited to 'README.debian')
-rw-r--r--README.debian12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.debian b/README.debian
new file mode 100644
index 0000000..a0104b2
--- /dev/null
+++ b/README.debian
@@ -0,0 +1,12 @@
+apt-get install uwsgi uwsgi-plugin-python3 python3-flask python3-alembic python3-click python3-decorator python3-flask-migrate python3-flask-script python3-flask-sqlalchemy python3-humanize python3-itsdangerous python3-jinja2 python3-mako python3-markupsafe python3-editor python3-magic python3-requests python3-six python3-validators python3-werkzeug
+# need to find short-url (1.2.2)
+sudo su hex-zero -c 'pip3 --user install short_url'
+
+# apache
+a2enmod proxy
+a2enmod rewrite
+a2enmod proxy_http
+
+# to run:
+cd /var/www/0x0
+ps -o user=,pid=,command:80= -u hex-zero | awk '/runserver/{print $2}' | xargs sudo kill ; sudo su hex-zero -c './fhost.py runserver'
bgstack15