当前位置:网站首页>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 ~
边栏推荐
猜你喜欢

kmp思想及模板代码

Disable access to external entities in XML parsing

Creation and destruction of function stack frames

Differential identities (help find mean, variance, and other moments)

The El cascader echo only selects the questions that are not displayed

Gee series: unit 6 building various remote sensing indexes in Google Earth engine
![Gee: analyze the change of spatial centroid of remote sensing image [centroid acquisition analysis]](/img/25/a726643b96b6f7dbfee3782c4905d9.jpg)
Gee: analyze the change of spatial centroid of remote sensing image [centroid acquisition analysis]
![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]

LeetCode 1175. Prime number arrangement (prime number judgment + Combinatorial Mathematics)

LeetCode 1175. 质数排列(质数判断+组合数学)
随机推荐
Differential identities (help find mean, variance, and other moments)
Gee series: Unit 4 data import and export in Google Earth engine
Sliding window on the learning road
操作符详解
函数中使用sizeof(arr) / sizeof(arr[0])求数组长度不正确的原因
Innovation never stops -- the innovation process of nvisual network visualization platform for Excel import
【技术随记-08】
Thread pool batch processing data
Global and Chinese markets for marine selective catalytic reduction systems 2022-2028: Research Report on technology, participants, trends, market size and share
Using QA band and bit mask in Google Earth engine
The El cascader echo only selects the questions that are not displayed
Global and Chinese market of hydrocyclone desander 2022-2028: Research Report on technology, participants, trends, market size and share
Feign realizes file uploading and downloading
Database batch insert data
7.1模擬賽總結
Nodejs (02) - built in module
Pyechats 1.19 generate a web version of Baidu map
No logic is executed after the El form is validated successfully
Gee series: unit 10 creating a graphical user interface using Google Earth engine [GUI development]
Straighten elements (with transition animation)