当前位置:网站首页>Record sentry's path of stepping on the pit
Record sentry's path of stepping on the pit
2022-07-02 05:23:00 【A programmer who can only write bugs】
preparation (mac edition ):
- install docker
- install python3.9( The latest version )
- install java( The latest version , Download address ) Otherwise, it will prompt that there is no gosu command , And not java Environmental Science
- If you want to use it geoIp, You need to apply MaxMind,《 Portal 》, Used to obtain GeoIP.conf, This plug-in is more pit , Maybe I can't use it .

Preparatory work completed , adopt github find getsentry/self-hosted,clone Come down
According to official documents ReadMe.md, function source ./install.sh, At this time, the first pit , Just started to use sh ./install.sh, There will be a mistake . Because sh,bash,source about sh The operation of files is inconsistent , Article portal
stay install At the end , Will prompt to create admin account number , This is your login account password ( Ran goose , I got stuck at this step , The computer cannot input normally , It's been like this several times ), I thought it was hopeless , I want to go through the registration process , Then it is found that the mailbox needs to be configured , Then I checked the resources on the Internet , Get the following operation command
>>> vim sentry/config.yml
...
mail.host: 'smtp.xxx.xxx.cn'
mail.port: 587
mail.username: '[email protected]'
mail.password: 'xxxxxx'
mail.use-tls: true
mail.from: '[email protected]' # Same as username
...
>>> docker-compose down
>>> docker-compose run --rm web upgrade # Pay attention to this step
>>> docker-compose up -d
When using the second command , Familiar prompts appear on the command console , Again, let me confirm whether I need to create an account ! There are no more problems this time , It can be created normally .
After landing in , Create a react Try project monitoring , Add the official code to the project , Write a small mistake casually , Trigger .
go back to sentry Interface , Check whether errors are collected 
perfect ! It can be used preliminarily !
In fact, on the server side , Have a ready-made docker Mirror image , stay dockerhub On the search sentry, It can also be used directly . I just want to be mac Try to build it by yourself ~
边栏推荐
- Fabric.js IText 手动设置斜体
- kmp思想及模板代码
- Fabric.js 3个api设置画布宽高
- JVM class loading mechanism
- 小程序跳装到公众号
- KMP idea and template code
- Fabric.js 更换图片的3种方法(包括更换分组内的图片,以及存在缓存的情况)
- 【pyinstaller】_ get_ sysconfigdata_ name() missing 1 required positional argument: ‘check_ exists‘
- How matlab marks' a 'in the figure and how matlab marks points and solid points in the figure
- Online English teaching app open source platform (customized)
猜你喜欢

Preparation for writing SAP ui5 applications using typescript

Fabric. JS iText set italics manually

Pyechart1.19 national air quality exhibition

Fabric.js 渐变

Centos8 installation mysql8.0.22 tutorial

指针使用详解
![Gee series: unit 9 generate sampling data in GEE [random sampling]](/img/ff/edb27b40f63eca81c5683e81b2860b.jpg)
Gee series: unit 9 generate sampling data in GEE [random sampling]

Gee series: Unit 4 data import and export in Google Earth engine

Detailed explanation of Pointer use

运维工作的“本手、妙手、俗手”
随机推荐
Differential identities (help find mean, variance, and other moments)
函数中使用sizeof(arr) / sizeof(arr[0])求数组长度不正确的原因
摆正元素(带过渡动画)
Online English teaching app open source platform (customized)
Global and Chinese market of commercial fish tanks 2022-2028: Research Report on technology, participants, trends, market size and share
Nodejs (02) - built in module
Leetcode 18 problem [sum of four numbers] recursive solution
Gee: create a new feature and set corresponding attributes
数据的储存
Get the details of the next largest number
线程池批量处理数据
Gee series: unit 9 generate sampling data in GEE [random sampling]
Fabric. JS background is not affected by viewport transformation
Centos8 installation mysql8.0.22 tutorial
MySQL foundation --- query (learn MySQL foundation in 1 day)
Preparation for writing SAP ui5 applications using typescript
Creation and destruction of function stack frames
Fabric.js 精简JSON
指针使用详解
Fabric. JS right click menu