Skip to content

ettore-bernardi/rubyBlogProject

Repository files navigation

English

Getting started

First you will need to instal following things on your system

  1. Ruby: 2.7.3
  2. Rails: 6.0.4
  3. Postgresql
Ruby and rails installation guide
Postgresql installation guide

if you use Windows 10 follow this tutorial

Setup

In your terminal:

  1. Clone this Repo git@github.com:ettore-bernardi/rubyBlogProject.git
  2. Go into the directory cd rubyBlogProject
  3. Do the bundle istalation bundle
  4. Do the yarn instalation yarn
  5. Crete the Database rake db:create db:migrate db:seed
  6. Run the server rails server

In your browser

  1. Go to http://localhost:3000/ there you will see the main posts page, this is the principal readers page
  2. You can make login using the email author@blog.com and password 123321 or create a new user
  3. after logging in you will see the authors page, here you can create new posts and manage the posts made by the user who is logged. note that if you have signed in as a new user you will not have any posts on this page.

Português

Começando

Primeiro você deverá ter isto instalado no seu sistema:

  1. Ruby: 2.7.3
  2. Rails: 6.0.4
  3. PostgreSQL
Guia de instalação do Ruby e do Rails
Guia de instalação do PostgreSQL

Se você usa o Windows 10 siga este tutorial

Setup

No terminal

  1. Clone este repositorio git@github.com:ettore-bernardi/rubyBlogProject.git
  2. Vá para o diretório cd rubyBlogProject
  3. Faça a instalação do bundle bundle
  4. Faça a instalação do yarn yarn
  5. Cria o banco de dados rake db:create db:migrate db:seed
  6. Inicie o servidor rails server

No navegador

  1. Vá para http://localhost:3000/ Aqui você verá a pagina principal de posts, essa é a página inicial dos leitores
  2. Faça login usando o email author@blog.com e a senha 123321 ou crie seu próprio usuario
  3. Depois de fazer o login você verá a pagina do author, aqui você pode criar os próprios posts ou editar os já existentes que foram criados pelo usuário logado, note que se você entrou com um novo usuário não terá nenhum post nesta página

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published