【文件属性】:
文件名称:fzerocentral-api:即将推出的F-Zero Central网站的数据API
文件大小:115KB
文件格式:ZIP
更新时间:2021-04-06 02:44:15
ruby-on-rails Ruby
fzerocentral-api
(即将发布的)F-Zero Central网站的数据API。 使用Ruby on Rails。
安装开发环境
克隆此存储库
安装Ruby
安装PostgreSQL
cd进入该存储库的根目录并运行bundle以安装所需的Ruby gems
在此存储库的根目录中创建一个.env文件,并指定配置变量值。 这是您需要定义的变量:
FZCAPI_DATABASE_NAME=your_database_name_here
FZCAPI_DATABASE_USERNAME=username_to_access_this_database
FZCAPI_DATABASE_PASSWORD=password_for_this_username
FZCAPI_TEST_DATABASE_NAME=database_name_for_running_automated