mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
setup.py work
This commit is contained in:
@@ -12,7 +12,7 @@ from ssh_lib.nginx import certbot, nginx
|
||||
from ssh_lib.pkg_base import pkg_base, pkg_upgrade
|
||||
from ssh_lib.planetiler import planetiler
|
||||
from ssh_lib.rclone import rclone
|
||||
from ssh_lib.utils import add_user, enable_sudo, put, reboot, sudo_cmd
|
||||
from ssh_lib.utils import add_user, enable_sudo, put, put_dir, reboot, sudo_cmd
|
||||
|
||||
|
||||
def prepare_shared(c):
|
||||
@@ -100,6 +100,8 @@ def prepare_http_host(c):
|
||||
upload_https_host_files(c)
|
||||
upload_certificates(c)
|
||||
|
||||
c.sudo('/data/ofm/venv/bin/pip install -e /data/ofm/http_host/bin')
|
||||
|
||||
|
||||
def upload_https_host_files(c):
|
||||
c.sudo(f'mkdir -p {HTTP_HOST_BIN}')
|
||||
|
||||
Reference in New Issue
Block a user