Yakanaro / hexlet-cv

Stackoverflow for Resume

Home Page:https://cv.hexlet.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexlet CV

Maintainability Test Coverage Main

About

The purpose of Hexlet CV is to provide a community platform where you get resume recommendations from community members and professional HR.

Interactions on Hexlet CV are based on resumes and resume recommendations. On a particular resume, each community member provides only one recommendation.

Join the community, post resumes and leave recommendations for other members. Tell your colleagues and friends about the site!

The project uses Ruby on Rails.

Tasks can be discussed in the #hexlet-volunteers channel in the Slack community.

System requirements

Setup

make setup
make test # run tests
make start # run server http://localhost:3000

make fixtures-load # sometimes, when fixtures were changed

Deploy

Add database:

heroku addons:create heroku-postgresql:hobby-dev

Prepare environment variables:

heroku config:set SECRET_KEY_BASE=$(rake secret)
heroku config:set HOST=$(heroku info -s | grep web_url | cut -d= -f2) # https://cv.hexlet.io for production
heroku config:set RACK_ENV=production
heroku config:set RAILS_ENV=production
heroku config:set RAILS_LOG_TO_STDOUT=enabled
heroku config:set EMAIL_FROM=support@hexlet.io

Configure reCAPTCHA

  • Follow the link reCAPTCHA
  • Log into Admin Console with your credentials or create a new Google Account in case you don't have one
  • At Admin Console register a new site as shown in example below
Label: <app_name>.herokuapp.com
Type reCAPTCHA: reCAPTCHA v2 (Checkbox "I'm not a robot")
Domains: <app_name>.herokuapp.com (localhost or/and 0.0.0.0 for development env)
  • Accept terms of use and submit
  • Add generated reCAPTCHA SITE KEY and SECRET KEY to environment variables in production
  • To use reCAPTCHA in development simply copy SITE KEY and SECRET KEY to your .env file

Hexlet Ltd. logo

This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.

See most active contributors on hexlet-friends.

About

Stackoverflow for Resume

https://cv.hexlet.io

License:GNU Affero General Public License v3.0


Languages

Language:Ruby 71.8%Language:Slim 22.1%Language:JavaScript 2.7%Language:HTML 2.1%Language:Makefile 0.6%Language:Shell 0.3%Language:Dockerfile 0.1%Language:Procfile 0.1%Language:SCSS 0.0%