You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
387 B

import os
with open('.env', 'w') as f:
f.write("MARIADB_USER={}\n".format(os.getenv('MARIADB_USER')))
f.write("MARIADB_PASSWORD={}\n".format(os.getenv('MARIADB_PASSWORD')))
f.write("MARIADB_DATABASE={}\n".format(os.getenv('MARIADB_DATABASE')))
f.write("CLIENT_ID={}\n".format(os.getenv('CLIENT_ID')))
f.write("CLIENT_SECRET={}\n".format(os.getenv('CLIENT_SECRET')))