learn_rails
1.0.0
下面的步骤假定您正在使用MacOS。 Windows的Ruby安装,Rails安装以及一般命令和filepaths和filepaths不同。请参考我在学习轨道/红宝石安装步骤时遵循的视频
ruby -v检查您的版本sqlite3 --version检查您的版本node -v检查您的版本yarn -v检查您的版本gem install rails并等待安装依赖项sample_app用于示例)mkdir sample_app并点击return (改用您的项目名称选择您的选择)cd sample_app并命中returnrails new .并命中returnsample_app用于示例)sample_apphttps://github.com/<your_username>/sample_app.git /sample_app.git)git clone https://github.com/<your_username>/sample_app.git用URL替换为新存储库cd sample_app并命中returnrails new .并命中returnsample_app项目rails slocalhost:3000localhost:3000