瀏覽代碼

HUE-826 Make the new app show up in the navigation bar

build/env/bin/hue create_proxy_app navigator http://gethue.com
tools/app_reg/app_reg.py --install navigator --relative-paths
Romain Rigaux 12 年之前
父節點
當前提交
3b5b5d2

+ 3 - 3
desktop/core/src/desktop/app_template_proxy/setup.py

@@ -28,9 +28,9 @@ os.chdir(os.path.dirname(os.path.abspath(__file__)))
 setup(
 setup(
   name = "${app_name}",
   name = "${app_name}",
   version = "0.1",
   version = "0.1",
-  url = 'TODO',
-  description = 'TODO',
-  author = 'TODO',
+  url = 'gethue.com',
+  description = 'A new Hue App',
+  author = 'Elephant',
   packages = find_packages('src'),
   packages = find_packages('src'),
   package_dir = {'': 'src'},
   package_dir = {'': 'src'},
   install_requires = ['setuptools', 'desktop'],
   install_requires = ['setuptools', 'desktop'],

+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/__init__.py → desktop/core/src/desktop/app_template_proxy/src/app_name/__init__.py


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/forms.py → desktop/core/src/desktop/app_template_proxy/src/app_name/forms.py


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/models.py → desktop/core/src/desktop/app_template_proxy/src/app_name/models.py


+ 1 - 0
desktop/core/src/desktop/app_template_proxy/src/settings.py → desktop/core/src/desktop/app_template_proxy/src/app_name/settings.py

@@ -14,6 +14,7 @@
 # See the License for the specific language governing permissions and
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # limitations under the License.
 DJANGO_APPS = [ "${app_name}" ]
 DJANGO_APPS = [ "${app_name}" ]
+NICE_NAME = "${app_name}"
 REQUIRES_HADOOP = False
 REQUIRES_HADOOP = False
 MENU_INDEX = 100
 MENU_INDEX = 100
 ICON = "/${app_name}/static/art/icon_${app_name}_24.png"
 ICON = "/${app_name}/static/art/icon_${app_name}_24.png"

+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/static/art/app_name.png → desktop/core/src/desktop/app_template_proxy/src/app_name/static/art/app_name.png


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/static/art/icon_app_name_24.png → desktop/core/src/desktop/app_template_proxy/src/app_name/static/art/icon_app_name_24.png


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/static/help/index.md → desktop/core/src/desktop/app_template_proxy/src/app_name/static/help/index.md


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/templates/index.mako → desktop/core/src/desktop/app_template_proxy/src/app_name/templates/index.mako


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/urls.py → desktop/core/src/desktop/app_template_proxy/src/app_name/urls.py


+ 0 - 0
desktop/core/src/desktop/app_template_proxy/src/views.py → desktop/core/src/desktop/app_template_proxy/src/app_name/views.py