{"id":15580481,"url":"https://github.com/toabctl/opsconsole-ui","last_synced_at":"2025-03-15T02:17:05.414Z","repository":{"id":71945389,"uuid":"98853086","full_name":"toabctl/opsconsole-ui","owner":"toabctl","description":null,"archived":false,"fork":false,"pushed_at":"2017-07-31T06:22:50.000Z","size":5284,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T18:12:44.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toabctl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-31T05:56:01.000Z","updated_at":"2018-01-12T17:14:20.000Z","dependencies_parsed_at":"2023-12-08T10:15:09.633Z","dependency_job_id":null,"html_url":"https://github.com/toabctl/opsconsole-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toabctl%2Fopsconsole-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toabctl%2Fopsconsole-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toabctl%2Fopsconsole-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toabctl%2Fopsconsole-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toabctl","download_url":"https://codeload.github.com/toabctl/opsconsole-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672487,"owners_count":20328768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T19:28:08.574Z","updated_at":"2025-03-15T02:17:05.372Z","avatar_url":"https://github.com/toabctl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[//]: \u003c\u003e (\\(c\\) Copyright 2016-2017 Hewlett Packard Enterprise Development LP)\n[//]: \u003c\u003e (\\(c\\) Copyright 2017 SUSE LLC)\n# Ops Console\nThe UI project runs on nodejs on port 9000 by default, and will auto-reload on changes\n\nAutoload does not work on Internet Explorer\n\n## Quick start\n```\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash\nsource ~/.bash_profile\nnvm install 5.4.1\nnpm -g install gulp bower\nnpm install\nbower install\ngulp\n```\n\n## Getting started\n**Note**: does not support windows. (nvm does not support windows see: [NVM#284](https://github.com/creationix/nvm/issues/284))\n\n1. Install NVM in your home folder. This by default is installed in ~/.nvm. See: [github.com/creationix/nvm](https://github.com/creationix/nvm)\n```\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash\nsource ~/.bash_profile\n```\n2. Install Node\n```\nnvm install 5.4.1\n```\n3. Install tools\n  * Option 1: install gulp and bower 'globally' (when using nvm the -g flag will install these packages in the current node version's library directory)\n```\nnpm -g install gulp bower\n```\n  * Option 2: install gulp and bower locally\n```\nnpm install gulp bower\n```\n4. Install dependencies (this reads the package.json file and bower.json file to install dependencies)\n**Note**: with local tools the path for bower will be `node_modules/.bin/bower`\n```\nnpm install\nbower install\n```\n5. Run gulp\n(**Note**: with local tools the path for gulp will be `node_modules/.bin/gulp`)\n  * Development server\n```\ngulp\n```\n  * Start production build\n```\ngulp dist\n```\n  * Run lint and unit tests\n```\ngulp gatecheck\n```\n  * Run protractor tests\n```\ngulp protractor\n```\nThe --env option can be used to choose between testing a hos or cs environment\n```\ngulp protractor --env hos\n```\nThe --no-coverage option can be used to ignore code coverage report creation\n```\ngulp protractor --no-coverage\n```\n6. Add local config (local configuration changes will be ignored by git)\n  * Copy sample\n```\ncp app/local/config.json.sample app/local/config.json\n```\n  * Add some good additional parameters\n```json\n{\n    \"bll_url\": \"https://192.168.245.5:9095/api/v1/\", //local hos\n    \"debug_mode\": \"true\",\n    \"dev_mode\": true,\n    \"env\": \"hos\"\n}\n```\n\n## Connect to backend that does not have CORS enabled.\nWhen connecting to a backend that does not have CORS enabled the web browser will give permission errors. The gulp server can be configured to proxy requests to the backend to work around the same origin policy. This is only required for development, production servers will not have this issue.\n\napp/local/config.json:\n```json\n{\n    \"bll_url\": \"https://10.241.122.5:9095/api/v1/\", //remote hos\n    \"proxy\": true\n}\n```\n\n## refreshing dependencies have changed\nTo pull down dependent packages run these commands\n\n**Note**: with local tools the path for bower will be `node_modules/.bin/bower`\n```\nnpm install\nbower install\n```\n\n\n\n## Locales:\nUse this to find missing tags:\n```\ndiff -bB \u003c(sed \"s/:.*//\" app/locales/en/common.json |sort) \u003c(sed \"s/:.*//\" app/locales/ja/common.json|sort)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoabctl%2Fopsconsole-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoabctl%2Fopsconsole-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoabctl%2Fopsconsole-ui/lists"}