[Rails] I tried deleting the application

Introduction

I tried deleting the mini app created in the test. I will leave a memorandum in the article as well.

table of contents

  1. Procedure
  2. Delete

1. Procedure

-Delete database ・ Delete folder

I thought that to delete the app, I just had to delete the folder. However, that leaves the database behind, which can lead to glitches.

Below is an article that I have referred to. If you are interested, please refer to it as it introduces how to delete various folders other than the application.

2. Delete

Let's delete it ~

-Delete database

$ rails db:drop

Development and testing It is successful if the two databases are deleted.

・ Delete folder

$ cd ..
$ rm [app name]

You can delete it with a command, but you can also delete it by putting it in the Trash from the finder.

that's all!

Finally

I am a beginner in programming, but I am posting an article in the hope that it will help people who are similarly troubled. See you next time ~

reference

https://qiita.com/ruemura3/items/63eb805aa2b4e250df81

Recommended Posts

[Rails] I tried deleting the application
[Rails] I tried to raise the Rails version from 5.0 to 5.2
I tried to organize the session in Rails
I tried Rails beginner [Chapter 1]
I tried the Docker tutorial!
I tried the VueJS tutorial!
I tried the FizzBuzz problem
I tried Rails beginner [Chapter 2]
[Rails] I tried playing with the comment send button
Rails6 I tried to introduce Docker to an existing application
[Rails] I tried using the button_to method for the first time
I tried to explain the method
I tried using the cache function of Application Container Cloud Service
I tried to understand how the rails method "redirect_to" is defined
I tried to build a simple application using Dockder + Rails Scaffold
I tried to understand how the rails method "link_to" is defined
I tried to summarize the methods used
I tried to introduce CircleCI 2.0 to Rails app
I tried the new era in Java
I tried to implement the Iterator pattern
I tried to summarize the Stream API
I tried the AutoValue library in Intellij
I tried to make the "Select File" button of the sample application created in the Rails tutorial cool
After learning Progate, I tried to make an SNS application using Rails in the local environment
I tried to summarize the stumbling points when developing an Android application
I tried Spring.
I tried tomcat
I tried youtubeDataApi.
I tried refactoring ①
I tried FizzBuzz.
I tried JHipster 5.1
I tried to publish the reflex measurement application on the Google Play store
I tried using Docker for the first time
I tried barcode scanning using Rails + React + QuaggaJS
[Rails] When I use form_with, the screen freezes! ??
I tried writing CRUD with Rails + Vue + devise_token_auth
The code I used to connect Rails 3 to PostgreSQL 10
[API] I tried using the zip code search API
I tried touching Docker for the first time
I summarized the naming conventions for each Rails
I tried to set tomcat to run the Servlet.
I tried to develop an application in 2 languages
I tried using the profiler of IntelliJ IDEA
About the case where "Docker" freeter tried to put Docker in the existing Rails application
I changed the way Rails tutorials run: Rails Tutorial Notes-Chapter 9
[Rails] I learned about the difference between resources and resources
I tried to summarize the points to consider when acquiring location information with the iOS application ③
[I tried] Spring tutorial
I tried to organize the cases used in programming
I tried using the Server Push function of Servlet 4.0
About rails application server
I tried running Autoware
I tried to summarize the state transition of docker
05. I tried to stub the source of Spring Boot
I tried to summarize the points to consider when acquiring location information with the iOS application ①
I tried QUARKUS immediately
I tried to reduce the capacity of Spring Boot
I tried the new feature profiler of IntelliJ IDEA 2019.2.
[Rails] I don't know how to use the model ...
I summarized the display format of the JSON response of Rails
What should I use for the testing framework [Rails]