Skip to content

J2ZROMERO/hello_new_rails_app

Repository files navigation

📗 Table of Contents

📖 Hello-rails-app

This is a project that shows you in the web-browser some greeting in different languages every time you refresh the page.

🛠 Built With

Tech Stack

Client
Server
Database

Key Features

The next key features are availble in this project.

  • Refresh the page to see diffent types of greetings.

(back to top)

🚀 Live Demo

You can see the deployment once it is executed in the next link.

  • Incomming.

(back to top)

💻 Getting Started

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

Prerequisites

In order to run this project you need:

Install a text-editor you prefer. Code editors.

You need a database

Ruby

Ruby on Rails Framework

Setup

Clone this repository to your desired folder:

You must have an account on git hub. Git Hub

You must have installed git in your local environment. Git

If you just want to take a look quickly, make a fork and open the project in the web browser by adding ".dev" instead of ."com" in the repo link.

Install

Install this project with:

Execute the bundle in your terminal with the path of the directory.

Execute "rails bundle" in your terminal with the specific path in order to add all the gems. Execute "npm install" in your terminal with the specific path in order to add all the gems.

  • Or if you are using yarn.

Execute "yarn install" in your terminal with the specific path in order to add all the gems.

You have to change the data bases' crentials.

When the project si already installed execute:

  • rake db:setup or rails db:setup
    • Once this in being executed the nexts actions are generated
    • rake db:create
    • rake db:schema:load
    • rake db:seed

If you already have the project in your local you can pull the lastes commit and execute the next commands:

  • rails db:reset
  • rails db:migrate:reset
  • rails db:seed

Usage

To run the project, execute the following command:

  • Once your credential is ready, execute.

Ruby bin/rails db:create Ruby bin/rails db:migrate Ruby bin/rails db:seed

Run tests

  • incomming.

Deployment

You can deploy this project using:

  • The databa.yml file is configured to be deployed with render, if you want to deploy it locally please.
    • Change your credentials.
    • default: &default
    • adapter: postgresql
    • encoding: unicode
    • username: postgres
    • password: 153624

Important if you are using "Windows" please remove .dev in the Procfile [Procfile] file in the root directory Important if you are using "Unix-based" please add .dev in the Procfile [Procfile.dev] file in the root directory

Then execute: postman start to see the deployment in the port:5000

(back to top)

👥 Authors

👤 JOSE ZEPEDA

(back to top)

🔭 Future Features

The next features will be added.

  • Tests.

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

Feel free to share your inquiries to our social links provided and we will help you. Don't forget to gift us a ⭐️

(back to top)

🙏 Acknowledgments

I would like to thank MICROVERSE for preparing the content to work.

(back to top)

❓ FAQ (OPTIONAL)

  • It can works with another data base

    • Of couser the idea of use postgresql is because it is a powerfull db that is well suited with rails.
  • Linters are necessary

    • If you want to have a redable and clean code it is a good option to choose

(back to top)

📝 License

This project is MIT licensed.

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published