Services Hunt is a web app who allow the users to share they services, the users can find the services they need and make reviews about the services they have used.
-
Ruby on Rails
-
PostgreSQL
-
Tailwind
To get a local copy up and running follow these simple steps:
-
Ruby ruby-3.1.2 installed
-
PostgreSQL dbms running
-
Open your terminal and navigate to the folder you would like to save the project.
-
Type these commands into the terminal:
git clone https://github.com/rega1237/services-hunt
cd services-hunt
bundle install
bundle exec figaro install
-
The bundle exec figaro install is to install and create the
application.yml
file and create the environment variables -
You will need to configure your
application.yml
file before you install and run the project. Theapplication.yml
file contains environment variables needed to deploy the webpage. You can find this file in the folder config/application.yml. There is a commentedapplication_example.txt
file you can use as a guide to configure your own. -
Edit file application.yml
-
Provide the values for the variables
GMAIL_USERNAME => To use config SMTP gmail to send email devise confimation
GMAIL_PASSWORD => To use config SMTP gmail to send email devise confimation
GOOGLE_CLIENT_ID => You get thi in developer api from google to use onniauth
GOOGLE_CLIENT_SECRET => You get thi in developer api from google to use onniauth
- Type this commands into the terminal:
rails db:create
rails db:reset
- Type this command into the terminal:
bin/dev
- Open your web browser at http://127.0.0.1:3000/
- Type this command into the terminal:
rails db:migrate RAILS_ENV=test
rails db:seed RAILS_ENV=test
rspec
👤 Rafael E. Guzman Arias
-
GitHub: @rega1237
-
LinkedIn: Rafael E. Guzman Arias
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.