This commit is contained in:
Zsolt Ero
2023-12-02 23:42:09 +01:00
commit 28f6d4f73a
16 changed files with 464 additions and 0 deletions

18
init-server.py Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python3
from fabric import Connection
from openfreemaps.kernel import setup_kernel_settings
from openfreemaps.nginx import certbot, nginx
def prepare_server(c):
setup_kernel_settings(c)
nginx(c)
certbot(c)
c = Connection(host='map128')
prepare_server(c)