Skip to content

Capstone project for the module of Ruby on Rails from Microverse. Here the users can create their articles, read and vote for other articles

License

Notifications You must be signed in to change notification settings

ricardomonte/ROR-Capstone-Tailstyle

Repository files navigation

TailStyle ROR Capstone

TailStyle web application is based in the design idea of Nelson Sakwa on BehanceLifestyle. It was created for the capstone project for the Ruby on Rails module in the Microverse curriculum. You can you can Register with a username, your name, email and password. And then create your new article, but dont forget one or more categories for your article, you can read other peoples article and you can vote for your favorite article. For login you just need your username.

screenshot

Built With

  • Ruby v2.7.0
  • Ruby on Rails v6
  • Rubocop
  • Rspec for testing

Live Demo

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Setup

Clone the repository

git clone git@github.com:ricardomonte/ROR-Capstone-Tailstyle.git

Install gems with:

bundle install

Install Yarn with:

Yarn install

Install npm with:

npm install

Setup database with:

Open the terminal in folder where is allocated the repository

    $sudo -u postgres psql
    ALTER USER postgres WITH ENCRYPTED PASSWORD 123456;
    
    * important to dont forget the semicolons

Then run in terminal:

    rails db:create
    rails db:migrate
    rails db:seed

If you receive an error message 'PG::ConnectionBad: FATAL:  password authentication failed for user "postgres"' please follow this instructions

Open the repository

    - Open the file database.yml
    - Coment out in development the username.
    - Change the pasword for your own password

Then run in terminal:

    rails db:create
    rails db:migrate
    rails db:seed

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser.

Run tests

    rspec --format documentation

Authors

👤 Ricardo Montenegro

🤝 Contributing

Contributions, issues and feature requests are welcome! Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

📝 License

This project is MIT licensed.

About

Capstone project for the module of Ruby on Rails from Microverse. Here the users can create their articles, read and vote for other articles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages