This is a project that shows you in the web-browser some greeting in different languages every time you refresh the page.
Client
Server
Database
The next key features are availble in this project.
- Refresh the page to see diffent types of greetings.
You can see the deployment once it is executed in the next link.
- Incomming.
To get a local copy up and running, follow these steps.
In order to run this project you need:
Install a text-editor you prefer. Code editors.
You need a database
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 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
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
- incomming.
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
👤 JOSE ZEPEDA
- GitHub: J2ZROMERO
- Twitter: @JOSEZEPED4
- LinkedIn: JOSE ZEPEDA
The next features will be added.
- Tests.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Feel free to share your inquiries to our social links provided and we will help you. Don't forget to gift us a ⭐️
I would like to thank MICROVERSE for preparing the content to work.
-
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
This project is MIT licensed.