Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fix mojito create -p option #831

Merged
merged 1 commit into from

3 participants

@isao
  • add port: "{{port}}" to application.json
  • rename with .hb extension
@isao isao fix mojito create -p option
- add {{port}} to application.json
- rename with .hb extension
da79557
@caridy
Owner

@isao we are transforming the port from a numeric value to a string, for some reason @drewfish change it to a numeric value, can you comment?

@isao

it was a trade-off to allow the raw json.hb file to be linted and syntax highlighted

@isao

note, this is not intended for pr6

@drewfish
Owner

I changed the port numbers in tests/func/applications/apps.json which is a bit different.

@caridy
Owner

+1 then

@isao isao merged commit 93741d7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 4, 2012
  1. @isao

    fix mojito create -p option

    isao authored
    - add {{port}} to application.json
    - rename with .hb extension
This page is out of date. Refresh to see the latest.
View
1  lib/app/archetypes/app/default/application.json → lib/app/archetypes/app/default/application.json.hb
@@ -1,6 +1,7 @@
[
{
"settings": [ "master" ],
+ "appPort": "{{port}}",
"specs": {}
},
{
View
2  lib/app/archetypes/app/full/application.json → lib/app/archetypes/app/full/application.json.hb
@@ -2,7 +2,7 @@
{
"settings": [ "master" ],
- "appPort": 8666,
+ "appPort": "{{port}}",
"cacheViewTemplates": true,
"staticHandling": {
"appName": "app",
View
1  lib/app/archetypes/app/simple/application.json → lib/app/archetypes/app/simple/application.json.hb
@@ -1,6 +1,7 @@
[
{
"settings": [ "master" ],
+ "appPort": "{{port}}",
"specs": {}
},
{
View
1  lib/app/archetypes/app/yahoo/application.json → lib/app/archetypes/app/yahoo/application.json.hb
@@ -1,6 +1,7 @@
[
{
"settings": [ "master" ],
+ "appPort": "{{port}}",
"specs": {}
},
{
Something went wrong with that request. Please try again.