{ "info": { "author": "XLAB d.o.o.", "author_email": "pypi@xlab.si", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "OpenFOAM Cloud Dashboard\n========================\n\nThis repository provides a horizon dashboard for the OpenFOAM cloud\napplication. To use it, you must also install the `backend\napplication `__.\n\nInstalling via pip to an existing OpenStack Horizon installation\n----------------------------------------------------------------\n\nYou can install the horizon-openfoam dashboard via pip package manager:\n\n::\n\n pip install horizon-openfoam\n\nEdit ``openstack_dashboard/local/local_settings.py`` and add the\nfollowing parameters at the end:\n\n::\n\n OFCLOUD_API_URL = 'your_ofcloud_api_url'\n S3_ACCESS_KEY_ID = 'your_s3_access_key_id'\n S3_SECRET_ACCESS_KEY = 'your_s3_secret_access_key'\n S3_HOST = 's3 host'\n S3_PORT = 443\n\nThe ``OFCLOUD_API_URL`` is the root URL of the `OpenFOAM\nBackend `__.\n\nTo enable the dashboard copy ``_6010_horizon-openfoam.py`` to\n``openstack-dashboard/openstack_dashboard/local/enabled`` (usually under\n``/usr/share``)\n\nAfter installing restart your apache2 server where horizon is running.\n\nUbuntu/debian:\n\n::\n\n systemctl restart apache2.service\n\nCentOS:\n\n::\n\n systemctl restart httpd.service \n\nInstalling locally\n------------------\n\nIn order to use the OpenFOAM Horizon dashboard, one must first clone the\nOpenStack's Horizon project and checkout the Liberty version:\n\n::\n\n git clone https://github.com/openstack/horizon.git\n git checkout stable/liberty\n\nInstall the required packages (we suggest to use virtualenv for this):\n\n::\n\n cd horizon\n pip install -r requirements.txt\n\nThen add the ``ofcloud`` dashboard submodule\n\n::\n\n cd horizon/openstack_dashboard/dashboards/\n git submodule add --name ofcloud https://github.com/mikelangelo-project/openfoam-ui.git ofcloud\n\nIn order to enable the dashboard, go to\n``horizon/openstack_dashboard/enabled``. This directory contains several\nfiles configuring the dashboards and panels. File ordering is important\nin that it sets the structure of the Horizon dashboard.\n\nCreate a file in this directory, for example ``_50_ofcloud.py`` and copy\nthe following content:\n\n::\n\n # The name of the dashboard to be added to HORIZON['dashboards']. Required.\n DASHBOARD = 'ofcloud'\n\n # If set to True, this dashboard will not be added to the settings.\n DISABLED = False\n\n # A list of applications to be added to INSTALLED_APPS.\n ADD_INSTALLED_APPS = [\n 'openstack_dashboard.dashboards.ofcloud',\n ]\n\nFinally, edit the local settings file\n(``horizon/openstack_dashboard/local/local_settings.py``) and put the\nfollowing settings (replace with values appropriate to your system\nsetup):\n\n::\n\n OFCLOUD_API_URL = 'ofcloud-backend-url'\n S3_ACCESS_KEY_ID = 'your-s3-key'\n S3_SECRET_ACCESS_KEY = 'your-s3-secrect-key'\n S3_HOST = 's3-host'\n S3_PORT = s3-port\n\nThe ``OFCLOUD_API_URL`` is the root URL of the `OpenFOAM\nBackend `__.\n\nRunning\n-------\n\nStart the OpenStack Horizon application, login and look for the OpenFOAM\nCloud dashboard.\n\n::\n\n cd horizon\n python manage.py runserver 0.0.0.0:8000\n\nAcknowledgements\n----------------\n\nThis project has been conducted within the RIA `MIKELANGELO\nproject `__ (no. 645402), started in\nJanuary 2015, and co-funded by the European Commission under the\nH2020-ICT- 07-2014: Advanced Cloud Infrastructures and Services\nprogramme.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.xlab.si/", "keywords": "", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "horizon-openfoam", "package_url": "https://pypi.org/project/horizon-openfoam/", "platform": "", "project_url": "https://pypi.org/project/horizon-openfoam/", "project_urls": { "Homepage": "https://www.xlab.si/" }, "release_url": "https://pypi.org/project/horizon-openfoam/1.0/", "requires_dist": null, "requires_python": "", "summary": "OpenFOAM horizon dashboard app.", "version": "1.0" }, "last_serial": 3274694, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "486c9820ee3e82aacda60eb161744e50", "sha256": "da71adae1555a5ef49c0e69d83be327f21b1a7d8c65404a1721f53e14602d9c2" }, "downloads": -1, "filename": "horizon-openfoam-1.0.tar.gz", "has_sig": false, "md5_digest": "486c9820ee3e82aacda60eb161744e50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17748, "upload_time": "2017-10-24T10:34:05", "url": "https://files.pythonhosted.org/packages/c6/cd/7fcd587ae94ea8866468931b70fb09622c7b23b4b1d91924767ab55dd878/horizon-openfoam-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "486c9820ee3e82aacda60eb161744e50", "sha256": "da71adae1555a5ef49c0e69d83be327f21b1a7d8c65404a1721f53e14602d9c2" }, "downloads": -1, "filename": "horizon-openfoam-1.0.tar.gz", "has_sig": false, "md5_digest": "486c9820ee3e82aacda60eb161744e50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17748, "upload_time": "2017-10-24T10:34:05", "url": "https://files.pythonhosted.org/packages/c6/cd/7fcd587ae94ea8866468931b70fb09622c7b23b4b1d91924767ab55dd878/horizon-openfoam-1.0.tar.gz" } ] }