Commit
69977e49b6c81d9dc44fe20d90a288b6e3bbb764
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
Be able to use an environment other than production
|
| @@ -2,4 +2,7 @@ |
| @@ -2,4 +2,7 @@ |
|
2
| |
2
| |
|
3
| set -e |
3
| set -e |
|
4
| |
4
| |
|
5
| -cd /usr/share/noosfero && su noosfero -c "./script/console production" |
5
| +environment="$1" |
|
| |
6
| +test -z "$environment" && environment=production |
|
| |
7
| + |
|
| |
8
| +cd /usr/share/noosfero && su noosfero -c "./script/console $environment" |