mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Add init.sh and deploy.sh scripts
This commit is contained in:
3
scripts/deploy.sh
Executable file
3
scripts/deploy.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
export CHATMAIL_DOMAIN="${1:-c1.testrun.org}"
|
||||
venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" deploy.py
|
||||
4
scripts/init.sh
Executable file
4
scripts/init.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
python3 -m venv venv
|
||||
venv/bin/pip install pyinfra
|
||||
venv/bin/pip install -e .
|
||||
Reference in New Issue
Block a user