Self hosting
Migrating from Clerk
This is a simple guide how to migrate from Clerk to MakinForU.
As of version 0.0.5, we have removed Clerk.com from MakinForU. This means that if you are upgrading from a previous version, you will need to export your users from Clerk and import them into MakinForU. Here is how you can do it.
Before we start lets get the users from Clerk. Go to Clerk > Configure > Settings > Export all users and download the CSV file. This file will be used to import the users into MakinForU.
Copy the csv file we downloaded from Clerk to your server:
scp ./path/to/your/clerk-users.csv user@your-ip:users-dump.csvSSH into your server:
ssh user@your-ipPull the latest images, and restart the containers:
docker compose pull
docker compose down
docker compose up -dSSH into your server:
ssh user@your-ipRun the following command to copy the file to the MakinForU container:
docker compose cp ./users-dump.csv op-api:/app/packages/db/code-migrations/users-dump.csvRun the migration:
docker compose exec -it op-api bash -c "cd /app/packages/db && pnpm migrate:deploy:code 2-accounts.ts"