This repository is for studies only.
Things you may want to cover:
- Ruby 3.0.2
- Rails 6.0.4
- Devise
- Bootstrap
- jquery-rails
- pg
- pry-byebug
- rspec-rails
- factory_bot_rails
- rubocop-rails
- Install ruby version 3.0.2 (use a version manager)
- Install nodejs version 14.19.1
- Clone this repository.
- run:
bundle install
- run:
yarn install --check-files
- Installnstall PostgreSQL
- run:
sudo -i -u postgres (to access the postgres user)
- run:
psql (to access the database)
- run:
CREATE ROLE etwitter WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD 'etwitter';
- run:
CREATE DATABASE etwitter OWNER etwitter;
- run:
rails server