Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

docs: remove the v1 migration guide

Andrej38a9a0871f56
diff --git a/apps/docs/core/guide/migrating-from-v1.mdx b/apps/docs/core/guide/migrating-from-v1.mdx
deleted file mode 100644
index 94b4a3cf2..000000000
--- a/apps/docs/core/guide/migrating-from-v1.mdx
+++ /dev/null
@@ -1,59 +0,0 @@
----
-title: Migrating from v1
-description: This guide will help you migrate your Kaneo instance from v1 to v2.
----
-
-## Overview
-
-Migrating from v1 to v2 is a straightforward process. We have updated the environment variables and the compose file to use the new variables.
-
-> **Note:** Please backup your database before migrating.
-
-## Environment variables
-
-The environment variables are used to configure the application.
-
-The big change is that we are using a `.env` file to store the variables.
-
-1. Create a `.env` file in the root of the project.
-2. JWT_ACCESS has been changed to AUTH_SECRET.
-
-Other than that, there's newly introduced environment variables that you need to set.
-
-
-- `KANEO_CLIENT_URL` (required)
-- `AUTH_SECRET` (required)
-- `DATABASE_URL` (required)
-- `POSTGRES_DB` (required)
-- `POSTGRES_USER` (required)
-- `POSTGRES_PASSWORD` (required)
-- `CORS_ORIGINS` (optional)
-- `SMTP_HOST` (optional)
-- `SMTP_PORT` (optional)
-- `SMTP_SECURE` (optional)
-- `SMTP_USER` (optional)
-- `SMTP_PASSWORD` (optional)
-- `SMTP_FROM` (optional)
-
-For more information, see the [Environment variables](/core/installation/environment-variables) page.
-
-## Compose file
-
-The compose file has been updated to use the new environment variables.
-
-```yml
-services:
- api:
- image: ghcr.io/usekaneo/api:latest
- env_file:
- - .env
- ...
-
- web:
- image: ghcr.io/usekaneo/web:latest
- env_file:
- - .env
- ...
-```
-
-For the complete compose file, see the [Docker Compose](/core/installation/docker-compose) page.
\ No newline at end of file
diff --git a/apps/docs/docs.json b/apps/docs/docs.json
index 8ea7c34a6..1ede5b5c6 100644
--- a/apps/docs/docs.json
+++ b/apps/docs/docs.json
@@ -38,6 +38,12 @@
"light": "/logo/dark.svg",
"dark": "/logo/light.svg"
},
+ "redirects": [
+ {
+ "source": "/core/guide/migrating-from-v1",
+ "destination": "/core/installation/environment-variables"
+ }
+ ],
"navigation": {
"tabs": [
{
@@ -112,10 +118,7 @@
},
{
"group": "Migration",
- "pages": [
- "core/guide/migrating-from-v1",
- "core/migrations/from-planka"
- ]
+ "pages": ["core/migrations/from-planka"]
}
]
},
diff --git a/apps/docs/index.mdx b/apps/docs/index.mdx
index 2158a2ab7..c4d1771c5 100644
--- a/apps/docs/index.mdx
+++ b/apps/docs/index.mdx
@@ -39,5 +39,5 @@ Labels are central to that flow. Use labels to group initiatives, surface cross-
- [Deployments](/core/deployments/railway)
- [Authentication Providers](/core/social-providers/github)
-- [Migration Guide](/core/guide/migrating-from-v1)
+- [Migrating from PLANKA](/core/migrations/from-planka)
- [Kaneo on GitHub](https://github.com/usekaneo/kaneo)