- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在已运行 OpenEDX 的 Ubuntu 14.04 服务器上安装电子商务服务。我被困在那里了。我将此项目 ( https://github.com/edx/ecommerce ) 克隆到/opt/bitnami/apps/edx/edx-platform 中,并在该文件夹中运行命令“make requests”。但25分钟后就崩溃了。大约有 4-5 个警告
npm install
npm WARN deprecated minimatch@2.0.10: Please update to ...
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing..
...
npm WARN optional dep failed, continuing fsevents@1.0.15
GitHub
edx/ecommerce
ecommerce - Django application used to manage edX's product catalog and handle orders for those products.
我完全被困在那里,甚至不太了解如何配置这个平台..正如文档(http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/ecommerce/install_ecommerce.html#switch-from-shoppingcart-to-e-commerce)指出我必须运行虚拟环境,所以我尝试了bitnami文档中的以下内容:
激活虚拟环境(venv)
source /opt/bitnami/apps/edx/edx-platform/venv/bin/
克隆 GitHub Repo 并执行“提出要求”
cd /opt/bitnami/apps/edx
sudo git clone https://github.com/edx/ecommerce
cd ecommerce
sudo make requirements
现在它向我展示了
(venv)user@OpenEdxDev:/opt/bitnami/apps/edx/ecommerce$ sudo make requirements
npm install
npm WARN package.json edx-ecommerce@ No license field.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS iss ue
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/adv isories/130
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN optional dep failed, continuing fsevents@1.0.15
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS iss ue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issu e
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. P lease update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
/
> geckodriver@1.2.0 postinstall /opt/bitnami/apps/edx/ecommerce/node_modules/geckodriver
> node index.js
Complete.g... /kodriver... -
|
> phantomjs@1.9.20 install /opt/bitnami/apps/edx/ecommerce/node_modules/phantomjs
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-linux-x86_64.tar .bz2
Saving to /opt/bitnami/apps/edx/ecommerce/node_modules/phantomjs/phantomjs/phantomjs-1.9.8-linux-x86_64.ta r.bz2
Receiving...
[================------------------------] 39%
Received 12854K total.
Extracting tar contents (via spawned process)
Removing /opt/bitnami/apps/edx/ecommerce/node_modules/phantomjs/lib/phantom
Copying extracted folder /opt/bitnami/apps/edx/ecommerce/node_modules/phantomjs/phantomjs/phantomjs-1.9.8- linux-x86_64.tar.bz2-extract-1481636967989/phantomjs-1.9.8-linux-x86_64 -> /opt/bitnami/apps/edx/ecommerce /node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /opt/bitnami/apps/edx/ecommerce/node_modules/phantomjs/lib/phantom/bin /phantomjs
karma-sinon@1.0.5 node_modules/karma-sinon
karma-firefox-launcher@0.1.7 node_modules/karma-firefox-launcher
karma-requirejs@0.2.6 node_modules/karma-requirejs
karma-jasmine@0.3.8 node_modules/karma-jasmine
requirejs@2.3.2 node_modules/requirejs
karma-spec-reporter@0.0.20 node_modules/karma-spec-reporter
└── colors@0.6.2
jasmine-core@2.5.2 node_modules/jasmine-core
sinon@1.17.6 node_modules/sinon
├── formatio@1.1.1
├── samsam@1.1.2
├── lolex@1.3.2
└── util@0.10.3 (inherits@2.0.1)
gulp@3.9.1 node_modules/gulp
├── interpret@1.0.1
├── pretty-hrtime@1.0.3
├── deprecated@0.0.1
├── archy@1.0.0
├── tildify@1.2.0 (os-homedir@1.0.2)
├── minimist@1.2.0
├── v8flags@2.0.11 (user-home@1.1.1)
├── semver@4.3.6
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, strip-ansi@3.0.1, ha s-ansi@2.0.0)
├── orchestrator@0.3.8 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, graceful-fs@3.0.11, through2@0.6.5, mkd irp@0.5.1, glob-stream@3.1.18, glob-watcher@0.0.6)
├── liftoff@2.3.0 (lodash.isstring@4.0.1, lodash.isplainobject@4.0.6, lodash.mapvalues@4.6.0, rechoir@0.6. 2, extend@3.0.0, flagged-respawn@0.3.2, resolve@1.1.7, fined@1.0.2, findup-sync@0.4.3)
└── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, lodash._reescape@3.0.0, beeper@1.1.1, replace-ext@0.0.1, has-gulplog@0.1.0, f ancy-log@1.2.0, vinyl@0.5.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.3, multipipe@0.1.2, datefo rmat@1.0.12)
karma-coverage@0.4.2 node_modules/karma-coverage
├── minimatch@2.0.10 (brace-expansion@1.1.6)
├── source-map@0.4.4 (amdefine@1.0.1)
├── dateformat@1.0.12 (get-stdin@4.0.1, meow@3.7.0)
└── istanbul@0.3.22 (abbrev@1.0.9, async@1.5.2, wordwrap@1.0.0, nopt@3.0.6, esprima@2.5.0, once@1.4.0, sup ports-color@3.1.2, which@1.2.12, mkdirp@0.5.1, fileset@0.2.1, resolve@1.1.7, escodegen@1.7.1, js-yaml@3.7. 0, handlebars@4.0.6)
gulp-jshint@1.12.0 node_modules/gulp-jshint
├── minimatch@2.0.10 (brace-expansion@1.1.6)
├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34)
├── rcloader@0.1.2 (lodash@2.4.2, rcfinder@0.1.9)
├── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, array-uniq@1.0.3, beeper@1.1.1, lodash._rees cape@3.0.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, f ancy-log@1.2.0, minimist@1.2.0, vinyl@0.5.3, lodash.template@3.6.2, chalk@1.1.3, gulplog@1.0.0, through2@2 .0.3, multipipe@0.1.2, dateformat@1.0.12)
└── lodash@3.10.1
jshint@2.8.0 node_modules/jshint
├── strip-json-comments@1.0.4
├── exit@0.1.2
├── console-browserify@1.1.0 (date-now@0.1.4)
├── minimatch@2.0.10 (brace-expansion@1.1.6)
├── shelljs@0.3.0
├── cli@0.6.6 (glob@3.2.11)
├── htmlparser2@3.8.3 (domelementtype@1.3.0, entities@1.0.0, domhandler@2.3.0, readable-stream@1.1.14, dom utils@1.5.1)
└── lodash@3.7.0
geckodriver@1.2.0 node_modules/geckodriver
├── adm-zip@0.4.7
├── bluebird@3.4.6
├── got@5.6.0 (lowercase-keys@1.0.0, timed-out@2.0.0, is-redirect@1.0.0, is-plain-obj@1.1.0, is-stream@1.1 .0, read-all-stream@3.1.0, object-assign@4.1.0, node-status-codes@1.0.0, duplexer2@0.1.4, unzip-response@1 .0.2, is-retry-allowed@1.1.0, pinkie-promise@2.0.1, create-error-class@3.0.2, url-parse-lax@1.0.0, readabl e-stream@2.2.2, parse-json@2.2.0)
└── tar.gz@1.0.5 (commander@2.9.0, bluebird@2.11.0, tar@2.2.1, fstream@1.0.10, mout@0.11.1)
karma@0.13.22 node_modules/karma
├── isbinaryfile@3.0.1
├── rimraf@2.5.4
├── batch@0.5.3
├── graceful-fs@4.1.11
├── di@0.0.1
├── mime@1.3.4
├── colors@1.1.2
├── source-map@0.5.6
├── http-proxy@1.16.2 (eventemitter3@1.2.0, requires-port@1.0.0)
├── dom-serialize@2.2.1 (void-elements@2.0.1, custom-event@1.0.1, extend@3.0.0, ent@2.2.0)
├── minimatch@3.0.3 (brace-expansion@1.1.6)
├── glob@7.1.1 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, inflight@1.0.6, once@1.4.0)
├── useragent@2.1.9 (lru-cache@2.2.4)
├── bluebird@2.11.0
├── connect@3.5.0 (utils-merge@1.0.0, parseurl@1.3.1, debug@2.2.0, finalhandler@0.5.0)
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)
├── body-parser@1.15.2 (content-type@1.0.2, bytes@2.4.0, depd@1.1.0, qs@6.2.0, raw-body@2.1.7, on-finished @2.3.0, http-errors@1.5.1, iconv-lite@0.4.13, debug@2.2.0, type-is@1.6.14)
├── expand-braces@0.1.2 (array-unique@0.2.1, array-slice@0.2.3, braces@0.1.5)
├── chokidar@1.6.1 (path-is-absolute@1.0.1, async-each@1.0.1, inherits@2.0.3, glob-parent@2.0.0, is-glob@2 .0.1, is-binary-path@1.0.1, readdirp@2.1.0, anymatch@1.3.0)
├── log4js@0.6.38 (semver@4.3.6, readable-stream@1.0.34)
├── socket.io@1.7.2 (object-assign@4.1.0, socket.io-adapter@0.5.0, has-binary@0.1.7, debug@2.3.3, socket.i o-parser@2.3.1, engine.io@1.8.2, socket.io-client@1.7.2)
├── lodash@3.10.1
└── core-js@2.4.1
gulp-jscs@3.0.0 node_modules/gulp-jscs
├── tildify@1.2.0 (os-homedir@1.0.2)
├── through2@2.0.3 (xtend@4.0.1, readable-stream@2.2.2)
├── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.3, beeper@1.1.1, lodash._reescape@3.0.0, lodash._r eevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, m inimist@1.2.0, fancy-log@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, multipipe@ 0.1.2, dateformat@1.0.12)
└── jscs@2.11.0 (to-double-quotes@2.0.0, to-single-quotes@2.0.1, estraverse@4.2.0, strip-json-comments@1.0 .4, reserved-words@0.1.1, natural-compare@1.2.2, vow@0.4.13, pathval@0.1.1, esprima@2.7.3, jscs-preset-wik imedia@1.0.0, strip-bom@2.0.0, exit@0.1.2, commander@2.9.0, xmlbuilder@3.1.0, chalk@1.1.3, minimatch@3.0.3 , glob@5.0.15, cli-table@0.3.1, vow-fs@0.3.6, resolve@1.1.7, jscs-jsdoc@1.3.2, js-yaml@3.4.6, htmlparser2@ 3.8.3, prompt@0.2.14, jsonlint@1.6.2, lodash@3.10.1, escope@3.6.0, babel-jscs@2.0.5)
bower@1.8.0 node_modules/bower
phantomjs@1.9.20 node_modules/phantomjs
├── progress@1.1.8
├── kew@0.7.0
├── which@1.2.12 (isexe@1.1.2)
├── request-progress@2.0.1 (throttleit@1.0.0)
├── hasha@2.2.0 (is-stream@1.1.0, pinkie-promise@2.0.1)
├── extract-zip@1.5.0 (debug@0.7.4, yauzl@2.4.1, mkdirp@0.5.0, concat-stream@1.5.0)
├── fs-extra@0.26.7 (path-is-absolute@1.0.1, jsonfile@2.4.0, klaw@1.3.1, graceful-fs@4.1.11, rimraf@2.5.4)
└── request@2.67.0 (tunnel-agent@0.4.3, aws-sign2@0.6.0, forever-agent@0.6.1, oauth-sign@0.8.2, caseless@0 .11.0, is-typedarray@1.0.0, stringstream@0.0.5, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.0, t ough-cookie@2.2.2, node-uuid@1.4.7, qs@5.2.1, combined-stream@1.0.5, mime-types@2.1.13, bl@1.0.3, hawk@3.1 .3, http-signature@1.1.1, har-validator@2.0.6, form-data@1.0.1)
./node_modules/.bin/bower install
bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using --allow-root option
make: *** [requirements.js] Error 1
但是当我想迁移它时,会发生这种情况:
sudo make migrate
python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
make: *** [migrate] Error 1
现在我完全迷失了。也许我错过了一些完全重要的东西。我也遵循了本教程,但它也不起作用:http://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/ecommerce/install_ecommerce.html#switch-from-shoppingcart-to-e-commerce
最佳答案
您遵循的说明适用于 devstack 安装,如果我没记错的话,Bitnami edX 是 edX 的 native 安装,在这种情况下,您应该遵循以下说明: https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/110330276/How+to+Install+and+Start+the+E-Commerce+Service+in+Native+Installations
(您在较旧版本的 Ubuntu 上运行实例可能会但不应该影响此安装)
关于python - 如何正确安装Open edX电子商务服务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41123557/
我听说最好不要从您系统的 Perl 版本所在的 CPAN 安装模块。我知道如何使用命令行安装模块,我只是想知道是否有办法将 CPAN 与系统核心 Perl 分开。 我应该: 下载源代码并专门为这些模块
我听说最好不要从系统的 Perl 版本所在的 CPAN 安装模块。我知道如何使用命令行安装模块,我只是想知道是否有办法将 CPAN 与系统的核心 Perl 分开。 我应该: 下载源代码并专门为这些模块
单独安装 electron 与通过 electron-builder 安装有什么区别?我正在使用 React 构建一个 Electron 应用程序,并且已经找到了一些教程。它们安装 Electron
两者安装有什么区别?我按照安装页面上的说明在全局范围内安装了 webpack,然后我转到了入门指南,据说在那里可以在本地安装 webpack-cli。 CLI = Command Line Inter
我在 OS X Yosemite 上用 PHP 安装了默认的 Apache 服务器,安装了 pear,用 brew 安装了 Solr (brew install solr),现在我正在尝试使用 PEC
我解压并编译了 Ruby 2.1 并安装了几个支持工具。 但是当我安装了 libssl-dev 时,OpenSSL 不会安装。 我在支持 openssl 时遇到这个错误: make: *** No r
我在 android studio 2.3.1 和 gradle 3.2 中设计了 2 到 3 个应用程序。当我从它运行应用程序到任何设备或模拟器时,一切都工作正常。但是当我从构建文件夹中获取该 ap
我注意到我正在读一本书提到通过 apt-get 安装 numpy 和 opencv apt-get install python-numpy python-opencv 但我可以通过以下方式在 pip
我正在尝试在 Windows 8.1 上安装 ansicon。我提取了文件并达到了我需要调用 ansicon -i 的级别。当我在 cmd 中输入此内容并运行 python 脚本时效果很好,但是当我通
我有 linux MINT 17.3 Kernel 4.4.0-81 所有更新可用。 (由于不同的原因,我无法迁移到更新版本的 ubuntu/mint) 我已经通过 PPA 安装了 FFMPEG(不是
尝试在本地运行我的应用程序时出现错误: 我只在 chrome 浏览器中收到此错误。我尝试过不同的东西,但我不确定为什么它是 Chrome 特定的。 最佳答案 我怀疑这不是 Firebase 问题,而是
这是我第一次开发 AngularJS 应用程序并使用脚手架工具 Yeoman ( http://yeoman.io/ )。我想对我的一些图标使用 fontawesome ( http://fortaw
我知道您通常“应该”$ pip install 如果包没有 brew ,但如果有一个你想安装的 python 包,你可以使用 $ pip install或 $ brew install为了?例如,通过
我正在尝试通过 RVM 安装 Ruby 1.9.3。然而,当谈到安装 RubyGems 时,我得到了这个: curl: (22) The requested URL returned error: 4
我是真正提出问题的新手,但你去吧。 我一直在尝试按照安装指南添加 dnsname: https://github.com/containers/dnsname https://github.com/c
Studio更新至0.4.0 建筑产量为“需要1.8版Gradle”;将设置设置为1.8 bin目录; 建立 “要求1.9级”;将设置设置为1.9 bin; 建立 “要求1.8级” 啊。不知道该怎么做
我刚刚注意到 kernel.org 因维护而停机。是否有使用不同镜子的不同公式?或者我可以向 Homebrew 软件添加不同的来源(如 bundler ?)? 谢谢你的帮助! 最佳答案 快速解决方法:
当我运行时: peardev install phpunit/PHPUnit 我得到以下信息: No releases available for package "pear.phpunit.de/P
服务器操作系统为Fedora 24. 64bit。 我想安装 Git 2.6.6。 所以下载源码并安装。 此服务器离线。所以我不使用“yum”。 ./configure --prefix=/usr/l
我正在尝试在我自己的服务器(操作系统:Linux Ubuntu Server 12.04)上安装 OpenEdX,但我遇到了同样的错误。谁能帮帮我? TASK: [ insights | insta
我是一名优秀的程序员,十分优秀!