Web Backend/Ruby on Rails 3

루비온레일즈에서 데이터베이스 다루기 (feat.Windows)

MySQL서버 설치 sudo apt install mysql-server sudo service mysql start sudo mysql_secure_installation mysql_secure_installation 더보기 Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : Y By default, a MySQL installation has an anonymous user, allowing anyone to log into MySQL without having to have a user account created for them. This is intended only for te..

루비온레일즈 개발환경구성하기 (feat.Windows)

Ubuntu설치(WSL) 1.설정 > 업데이트 및 보안 > 개발자용 > 개발자모드 선택 2.제어판 > 프로그램 > Windows 기능 켜기/끄기 > Linux용 Windows 하위 시스템 체크 > 재시작 3.Micorosft Store에서 Ubuntu 검색 > Ubuntu 20.04.4 LTS 다운로드 > 열기 > 계정생성 4.시작 > cmd > bash 의존환경설치 sudo apt-get update sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev s..

레일즈로 40분 만에 유튜브 개발하기

$("#comments").html("") METUBE https://www.youtube.com/watch?v=QY69b33ui0c&t=12s 구현할 것 - 로그인/회원가입 - 부트스트랩/폰트어썸 - 비디오/썸네일 업로드 - 비디오 목록/보기, 작성자 수정/삭제 - 페이지네이션, 제목 검색 - 댓글 작성, 삭제 사용한 코드 % rails new metube % cd metube % atom . -- 서버시작 % rails s % rails db:create -- gemfile변경 % bundle % rails g devise:install % spring stop % rails g devise:install % rails g devise user % rails db:migrate ------------..