diff options
author | B Stack <bgstack15@gmail.com> | 2020-12-04 20:21:46 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-12-09 15:47:06 -0500 |
commit | 61c8f7ea623b5ba8eeea5b233810dbc5a0f09d18 (patch) | |
tree | 5d8fe1367b618de6f4001361ca0e81f5b0feb2ff /README.debian | |
parent | add footer with impressum (diff) | |
download | hex-zero-61c8f7ea623b5ba8eeea5b233810dbc5a0f09d18.tar.gz hex-zero-61c8f7ea623b5ba8eeea5b233810dbc5a0f09d18.tar.bz2 hex-zero-61c8f7ea623b5ba8eeea5b233810dbc5a0f09d18.zip |
WIP: split many things into configs
including listening port, network address, front page content,
and main configs.
Also, prepare for building into a dpkg.
Diffstat (limited to 'README.debian')
-rw-r--r-- | README.debian | 12 |
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' |