gitlab_to_gitea icon indicating copy to clipboard operation
gitlab_to_gitea copied to clipboard

no .env

Open ryzenpay opened this issue 1 year ago • 1 comments

Hey, While looking at the repo, i saw the .gitignore excludes the .env file, which makes perfect sense for security reasons but there is no 'env_dump' file to template what the .env file would look like making me unsure. I can go through the python code and find all the variables used but it can be very helpful to have an env_dump file with maybe some further instructions on where to find each variable.

If i am missing something and there is a template somewhere, thats my fault.

ryzenpay avatar Aug 23 '24 18:08 ryzenpay

welp ive decided to do it anyways:

#gitlab variables GITLAB_URL = '' GITLAB_TOKEN = '' #leave empty if admin_user and admin_pass used GITLAB_ADMIN_USER = '' #if empty, will use oath and token GITLAB_ADMIN_PASS = '' MIGRATE_BY_GROUPS = '0' #set to 1 if migrating from gitlab.com (not private installation) GITLAB_ARCHIVE_MIGRATED_PROJECTS = '0' #set to 1 if repos on gitlab should be archived after transfer

#gitea variables GITEA_FALLBACK_GROUP_MEMBER = '' #the gitea admin username GITEA_URL = '' GITEA_TOKEN = ''

ryzenpay avatar Aug 23 '24 19:08 ryzenpay