Generate a secret key for sentry to use. Place this in your .env file
docker run --rm sentry config generate-secret-key
Build the sentry service
docker-compose up -d
| const buildFetchingState = (name) => { | |
| const uppercase = name.toUpperCase(); | |
| const capitalized = name.charAt(0).toUpperCase() + name.slice(1); | |
| return { | |
| initial: 'idle', | |
| states: { | |
| idle: { | |
| on: { | |
| [`FETCH_${uppercase}`]: 'loading', |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| [alias] | |
| shorty = status --short --branch | |
| please = push --force-with-lease | |
| merc = merge --no-ff | |
| grog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\" | |
| lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| co = checkout | |
| br = branch | |
| ci = commit | |
| st = status |
| <html> | |
| <head> | |
| <style> | |
| #block { | |
| position: absoulte; | |
| background: red; | |
| width: 150px; | |
| height: 500px; | |
| left: calc(50% - 75px); | |
| top: 0px; |