【文件属性】:
文件名称:origami-bower-registry:将Financial Times GitHub存储库安装为Bower组件
文件大小:129KB
文件格式:ZIP
更新时间:2021-02-24 08:33:02
service origami JavaScript
折纸凉亭注册表
将金融时报GitHub存储库安装为Bower组件。 有关API信息,请参见。
目录
要求
运行Origami Bower Registry需要 12.x和 。
本地运行
在运行应用程序之前,我们需要安装依赖项:
npm install
在开发模式下运行应用程序
make run-dev
现在,您可以通过端口8080上的HTTP访问该应用程序:
配置
我们使用环境变量配置折纸Bower注册表。 在开发中,配置是在.env文件中设置的。 在生产中,这些是通过Heroku配置设置的。 有关可用选项的更多文档可在。
随处需要
AWS_ACCESS_KEY :用于将程序包发布到S3的API密钥。
AWS_SECRET_KEY :用于将程序包发布到S3的密钥。
GITHUB_SECRET :与Github Webhooks通信时使用的秘密。
GITHUB_TOKEN :
【文件预览】:
origami-bower-registry-master
----.gitignore(71B)
----.snyk(1KB)
----package.json(2KB)
----Makefile(2KB)
----package-lock.json(315KB)
----about.json(2KB)
----public()
--------main.css(207B)
----index.js(929B)
----origami.json(424B)
----views()
--------error.html(103B)
--------index.html(2KB)
--------layouts()
--------partials()
----.github()
--------ISSUE_TEMPLATE.md(1KB)
--------CODEOWNERS(442B)
--------workflows()
--------dependabot.yml(511B)
----.eslintrc.js(799B)
----README.md(8KB)
----.eslintignore(9B)
----lib()
--------package-data.js(6KB)
--------health-checks.js(3KB)
--------service.js(917B)
--------check()
--------routes()
----Procfile(13B)
----RUNBOOK.md(5KB)
----test()
--------integration()
--------unit()