Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 1.25 KB

README.md

File metadata and controls

72 lines (59 loc) · 1.25 KB

eTwitter

This repository is for studies only.

Things you may want to cover:

Ruby version

  • Ruby 3.0.2
  • Rails 6.0.4

System dependencies

  • Devise
  • Bootstrap
  • jquery-rails
  • pg
  • pry-byebug
  • rspec-rails
  • factory_bot_rails
  • rubocop-rails

Configuration

  • 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

Database creation

  • 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;

Deployment instructions

  • run:
rails server

Images

Login Sign up Home page New post Search User follow User follow Notification