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.
make setup
# or for Apple silicon machine if setup fails with unsupported arch
make setup-arm64
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 app-test # run tests
make compose # run server http://localhost:3000
make app-ci-check # run ci
docker container ls # watch container
docker attach [container_id]
or
make app-debug
and insert debugger
in controller
Dependencies: podman, podman-compose
If you have installed podman-docker, you can use, directly, make compose-*
commands (except make app-debug
)
Or explicitly use the make podman-compose-*
commands.
make podman-compose-setup # setup app
make podman-compose-app-test # run tests
make podman-compose # run server http://localhost:3000
make podman-compose-app-ci-check
podman container ls # watch container
podman attach [container_id]
or
make podman-compose-app-debug
and insert 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_FROM=support@hexlet.io
Configure reCAPTCHA for production:
Configure reCAPTCHA for development:
# test key for recapcha https://github.com/MTG/freesound/issues/879
RECAPTCHA_SITE_KEY=6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
RECAPTCHA_SECRET_KEY=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
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)
SITE KEY
and SECRET KEY
to environment variables in productionSITE KEY
and SECRET KEY
to your .env fileThis 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.