minor fix
This commit is contained in:
parent
d1d15323e8
commit
c078ca4da6
23
Readme.md
23
Readme.md
@ -84,7 +84,8 @@ SECRET_KEY="<yourrandomlygeneratedsecretkey>"
|
|||||||
REDIS_HOST="127.0.0.1"
|
REDIS_HOST="127.0.0.1"
|
||||||
EMAIL_URL="smtp://glitchtip@yourdomain.net"
|
EMAIL_URL="smtp://glitchtip@yourdomain.net"
|
||||||
DEFAULT_FROM_EMAIL="glitchtip@yourdomain.net"
|
DEFAULT_FROM_EMAIL="glitchtip@yourdomain.net"
|
||||||
GLITCHTIP_DOMAIN="http://yourdomain.net"
|
GLITCHTIP_DOMAIN="http://your.domain.tld"
|
||||||
|
DEBUG="TRUE"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -95,13 +96,15 @@ export $(cat .env | xargs)
|
|||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
### collect static
|
#### collect static
|
||||||
```shell
|
```shell
|
||||||
ln -s /opt/glitchtip/glitchtip-frontend/dist/glitchtip-frontend/ dist
|
ln -s /opt/glitchtip/glitchtip-frontend/dist/glitchtip-frontend/browser dist
|
||||||
mkdir /opt/glitchtip/glitchtip-backend/{static,media}
|
mkdir /opt/glitchtip/glitchtip-backend/{static,media}
|
||||||
./manage.py collectstatic
|
./manage.py collectstatic
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### services
|
||||||
|
|
||||||
#### gunicorn
|
#### gunicorn
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@ -115,6 +118,9 @@ bind = "unix:/opt/glitchtip/runtime/socket"
|
|||||||
proc_name = "glitchtip"
|
proc_name = "glitchtip"
|
||||||
worker_tmp_dir = "/dev/shm"
|
worker_tmp_dir = "/dev/shm"
|
||||||
workers = 3
|
workers = 3
|
||||||
|
accesslog = "/opt/glitchtip/gunicorn_access.log"
|
||||||
|
errorlog = "/opt/glitchtip/gunicorn_error.log"
|
||||||
|
loglevel = "debug"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### systemd service
|
#### systemd service
|
||||||
@ -222,6 +228,15 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#location / {
|
||||||
|
# proxy_pass http://unix:/opt/glitchtip/runtime/socket;
|
||||||
|
# proxy_set_header Host $host;
|
||||||
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
#}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -232,6 +247,8 @@ nginx -t
|
|||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Celery
|
||||||
|
|
||||||
## sources
|
## sources
|
||||||
|
|
||||||
- https://glitchtip.com/documentation/install#installing-without-docker
|
- https://glitchtip.com/documentation/install#installing-without-docker
|
||||||
|
Loading…
x
Reference in New Issue
Block a user