【文件属性】:
文件名称:rails-sprockets-with-api-template
文件大小:119KB
文件格式:ZIP
更新时间:2021-04-16 20:34:26
Ruby
Rails-Sprockets-模板
没有webpacker的Rails 6.1模板
要求
Ruby 3.0
Rails 6.1(最新稳定版本)
Postgres 12
节点js和纱线
入门
通过单击使用此模板来创建存储库。
克隆新的回购。
使用您的项目名称更新.ruby-gemset文件,并创建具有相同名称的gemset。
在gem install bundler 。
使用bundler bundler install安装依赖项。
使用此命令重命名项目rails g rename:into New-Name
创建数据库并迁移rails db:create db:migrate
与主密钥文件EDITOR="nano" rails credentials:edit一起创建凭证文件EDITOR="nano" rails credentials:edit
启动Server