mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
Compare commits
2 Commits
hagi/insta
...
link2xt/sc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf88ff2dd | ||
|
|
507bbd51d3 |
19
README.md
19
README.md
@@ -25,55 +25,56 @@ DNS domain name (FQDN), for example `chat.example.org`.
|
|||||||
ssh root@CHATMAIL_DOMAIN
|
ssh root@CHATMAIL_DOMAIN
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install the `cmdeploy` command in a virtualenv and activate it
|
2. Install the `cmdeploy` command in a virtualenv
|
||||||
|
|
||||||
```
|
```
|
||||||
|
git clone https://github.com/deltachat/chatmail
|
||||||
|
cd chatmail
|
||||||
scripts/initenv.sh
|
scripts/initenv.sh
|
||||||
. venv/bin/activate
|
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Create chatmail configuration file `chatmail.ini`:
|
3. Create chatmail configuration file `chatmail.ini`:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy init CHATMAIL_DOMAIN
|
scripts/cmdeploy init CHATMAIL_DOMAIN
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Deploy to the remote chatmail server:
|
4. Deploy to the remote chatmail server:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy run
|
scripts/cmdeploy run
|
||||||
```
|
```
|
||||||
|
|
||||||
5. To output a DNS zone file from which you can transfer DNS records
|
5. To output a DNS zone file from which you can transfer DNS records
|
||||||
to your DNS provider:
|
to your DNS provider:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy dns
|
scripts/cmdeploy dns
|
||||||
```
|
```
|
||||||
|
|
||||||
6. To check status of your remotely running chatmail service:
|
6. To check status of your remotely running chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy status
|
scripts/cmdeploy status
|
||||||
```
|
```
|
||||||
|
|
||||||
7. To test your chatmail service:
|
7. To test your chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy test
|
scripts/cmdeploy test
|
||||||
```
|
```
|
||||||
|
|
||||||
8. To benchmark your chatmail service:
|
8. To benchmark your chatmail service:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy bench
|
scripts/cmdeploy bench
|
||||||
```
|
```
|
||||||
|
|
||||||
### Refining the web pages
|
### Refining the web pages
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cmdeploy webdev
|
scripts/cmdeploy webdev
|
||||||
```
|
```
|
||||||
|
|
||||||
This starts a local live development cycle for chatmail Web pages:
|
This starts a local live development cycle for chatmail Web pages:
|
||||||
|
|||||||
6
scripts/cmdeploy
Executable file
6
scripts/cmdeploy
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Wrapper for cmdelpoy to run it in activated virtualenv.
|
||||||
|
set -e
|
||||||
|
. venv/bin/activate
|
||||||
|
cmdeploy "$@"
|
||||||
Reference in New Issue
Block a user