Ask-me is an application where you can ask each other any questions and get answers, similar to the popular ask.fm. The user can add an avatar and change the background color of the profile. On the user page you can leave questions and answer them. When adding a question the algorithm looks for hashtags starting with "#", changes color and makes them clickable. Clicking on a hashtag takes you to a page with questions from all users with that hashtag. The hashtags of all users are displayed on the main page.
reCAPTCHA
is used for spam protection.
- Clone repo
$ git clone [email protected]:phobco/ask-me.git
$ cd ask-me
- Install gems
$ bundle
- Create database and run migrations
$ rails db:create
$ rails db:migrate
- Generate
master.key
and credentials file (at first remove old fileconfig/credentials.yml.enc
)
$ EDITOR=nano rails credentials:edit
Set your reCAPTCHA
keys if needed at credentials.yml.enc
recaptcha:
site_key: <your site key>
secret_key: <your secret key>
- Start sever
$ rails s
Open localhost:3000
in browser.
Deployed on Heroku
: link