#!/bin/bash
export PORT=80
export MONGO_URL=mongodb://127.0.0.1/<%= appName %>
export ROOT_URL=http://localhost

#it is possible to override above env-vars from the user-provided values
<% for(var key in env) { %>
  export <%- key %>="<%-("" + env[key])%>"
<% } %>

#!/bin/bash
export PORT=80
export MONGO_URL=mongodb://127.0.0.1/<%= appName %>
export ROOT_URL=http://localhost

#it is possible to override above env-vars from the user-provided values
<% for(var key in env) { %>
  export <%- key %>=<%- ("" + env[key]).replace(/./ig, '\\$&') %>
<% } %>

Revert "dont escape export values"
Revert "dont escape export values"

This reverts commit c0207b7addff80857b6bd1e30856d3580da8c6e7.
