【文件属性】:
文件名称:rails_graphql_apollo_react
文件大小:313KB
文件格式:ZIP
更新时间:2021-02-10 03:36:45
Ruby
先决条件
设置步骤需要在系统上安装以下工具。
Github
Ruby
Rails
1.检出存储库
git clone git@github.com:mohamedtaha123/rails_graphql_apollo_react
2.创建并设置数据库
运行以下命令来创建和设置数据库。
bundle exec rake db : create
bundle exec rake db : setup
3.启动Rails服务器
您可以使用以下命令启动Rails服务器。
bundle exec rails s
现在您可以使用URL 访问该站点
4.运行测试(Rspec)
您可以使用下面给出的命令开始测试。
bundle exec rspec