- Bootstrap for Rails
- Syed Fazle Rahman
- 249字
- 2021-07-23 20:35:46
Setting up a Todo application in Rails
Since this book is targeted for Rails developers, I assume that you already have basic knowledge of Rails development. You should also have Rails and Ruby installed in your machine to start with.
Note
While writing this book, Ruby 2.1.1 and Rails 4.1.4 was used.
Let's first understand what this Todo application will do. Our application will allow us to create, update, and delete items from the Todo list. We will first analyze the folders that are created while scaffolding this application and which of them are necessary for templating the application.
So, let's dip our feet into the water:
- It's time to create our Todo application. Write the following command to create a Rails application named
TODO
:rails new TODO
- This command will execute a series of various other commands that are necessary to create a Rails application. So, just wait for sometime before it stops executing all the codes. If you are using a newer version of Rails, then this command will also execute
bundle install
command at the end. Bundle install command is used to install other dependencies.
The output for the preceding command is as follows:

Now, you should have a new folder inside Bootstrap_Rails_Project
named TODO
, which was created by the preceding code. Here is the output:

- Flink SQL與DataStream入門、進階與實戰
- Mastering Natural Language Processing with Python
- 基于差分進化的優化方法及應用
- Quarkus實踐指南:構建新一代的Kubernetes原生Java微服務
- GameMaker Programming By Example
- Big Data Analytics
- 軟件項目管理實用教程
- Learning OpenStack Networking(Neutron)
- NetBeans IDE 8 Cookbook
- 創意UI:Photoshop玩轉APP設計
- Hadoop大數據分析技術
- Getting Started with Python
- Beginning PHP
- Serverless工程實踐:從入門到進階
- 詩意的邊緣