mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 15:44:19 +01:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -34,12 +34,12 @@ class Generator:
|
|||||||
|
|
||||||
def write_config_yml(self, microservice_name, dest_folder):
|
def write_config_yml(self, microservice_name, dest_folder):
|
||||||
config_content = f'''
|
config_content = f'''
|
||||||
jtype: {microservice_name}
|
jtype: {microservice_name}
|
||||||
py_modules:
|
py_modules:
|
||||||
- microservice.py
|
- microservice.py
|
||||||
metas:
|
metas:
|
||||||
name: {microservice_name}
|
name: {microservice_name}
|
||||||
'''
|
'''
|
||||||
with open(os.path.join(dest_folder, 'config.yml'), 'w') as f:
|
with open(os.path.join(dest_folder, 'config.yml'), 'w') as f:
|
||||||
f.write(config_content)
|
f.write(config_content)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user