|
@@ -61,11 +61,14 @@ class CreateProject(TemplateCommand):
|
|
|
os.path.join(codered_path, 'project_template'),
|
|
|
options['template']
|
|
|
)
|
|
|
+
|
|
|
|
|
|
|
|
|
if os.path.isdir(template_path):
|
|
|
options['template'] = template_path
|
|
|
- options['extensions'] = ['py', 'md']
|
|
|
+
|
|
|
+
|
|
|
+ options['extensions'] = ['py', 'md', 'txt']
|
|
|
options['files'] = ['Dockerfile']
|
|
|
|
|
|
|
|
@@ -89,6 +92,9 @@ class CreateProject(TemplateCommand):
|
|
|
options['domain'] = 'localhost'
|
|
|
options['domain_nowww'] = options['domain']
|
|
|
|
|
|
+
|
|
|
+ options['coderedcms_release'] = coderedcms.release
|
|
|
+
|
|
|
|
|
|
print(message % {
|
|
|
'project_name': project_name,
|