Skip to content

Commit

Permalink
Remove legacy instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Nov 23, 2024
1 parent c7247f6 commit 116c077
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 124 deletions.
32 changes: 32 additions & 0 deletions docs/03-deploy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Deploy

## Old instructions

- **Sentry**: Create a project and note down the **DSN**.

Run server start script:

```sh
export GITHUB_USER=<user-name-from-step-4>
export GITHUB_REPO=<repo-name-from-step-4>
export GITHUB_TOKEN=<github-token-from-step-4>
export SENTRY_DSN=<sentry-dsn-from-step-4>

echo "GITHUB_USER=$GITHUB_USER" >> deploy/.config
echo "GITHUB_REPO=$GITHUB_REPO" >> deploy/.config
mkdir -p ~/.docker
echo '{
"auths": {
"ghcr.io": {
"auth": "'$(echo -n "$GITHUB_USER:$GITHUB_TOKEN" | base64)'"
}
}
}' > ~/.docker/config.json
echo "N8N_SHORTLINK_SENTRY_DSN=$SENTRY_DSN" >> deploy/.env.production

docker network create n8n-shortlink-network
deploy/scripts/start-services.sh
```

Log in to `https://grafana.domain.com` and set a password for the Grafana admin user.

118 changes: 0 additions & 118 deletions docs/deploy.md

This file was deleted.

8 changes: 2 additions & 6 deletions docs/develop.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# Development

Install Go 1.23.3:
Install tooling:

```sh
brew install [email protected]
```

Install Go tooling:

```sh
go install gotest.tools/gotestsum@latest
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
go install github.com/air-verse/air@latest
go install -tags 'sqlite3' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
brew install shellcheck
```

Clone repository:
Expand Down

0 comments on commit 116c077

Please sign in to comment.