From 61c8f7ea623b5ba8eeea5b233810dbc5a0f09d18 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 4 Dec 2020 20:21:46 -0500 Subject: WIP: split many things into configs including listening port, network address, front page content, and main configs. Also, prepare for building into a dpkg. --- README.debian | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 README.debian (limited to 'README.debian') 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' -- cgit