mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
19 lines
289 B
Python
Executable File
19 lines
289 B
Python
Executable File
#!/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)
|