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 Telegram community.
- Ruby >= 3.2.2
- Node.js >= 19.0.0
- SQLite3
- Heroku CLI
make setup
make test # run tests
make start # run server http://localhost:3000
make fixtures-load # sometimes, when fixtures were changed
make compose-setup # setup app
make compose-test # run tests
make compose # run server http://localhost:3000
make compose-ci-check # run ci
docker container ls # watch container
docker attach [container_id]
or
make app-debug
and inser debugger
in controller
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 protected]
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
andSECRET KEY
to environment variables in production - To use reCAPTCHA in development simply copy
SITE KEY
andSECRET KEY
to your .env file
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.