Project Contact.
Simple Contact Form With Validation and I18n.
Send Email of "Thank You For Contact" with specific idiom and Manual Send Email of Answer.
Heroku (Live Demo):
https://module-contact.herokuapp.com/
I18n available's languages: |en|de|es|it|pt|fr|
Send Email with SMTP (Gmail's Account).
** IMPORTANT CONFIG YOUR EMAIL **
development.rb
production.rb
test.rb
In Gmail Account to enable 'Less secure APP' in 'Google's Account' => Security
If you don't config your Gmail's Account don't work send the emails
After access: https://accounts.google.com/b/0/DisplayUnlockCaptcha and enabled.
Command for you use:
$ sudo service postgresql start
$ cd Module-Contact
$ bundle update
$ bundle install
$ rake db:drop db:create db:migrate db:seed
$ rails s or rails s -p $PORT -b $IP
Access your browser: http://0.0.0.0:8080 or http://localhost:8080
For test send email preview: http://localhost:8080/rails/mailers/contact
Admin's Area:
Login: [email protected]
Password: demo123
Ruby Version:
Ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-linux]
Rails Version:
Rails 5.2.3
PostGres Version :
(PostgreSQL) 9.3.18
Gem's used:
I18n
Thin
Devise (Login)
Globalize
Faker
Rspec
sudo service postgresql start
rails s -p $PORT -b $IP
heroku restart; heroku pg:reset DATABASE --confirm APP-NAME; heroku run rake db:migrate; heroku run rake db:seed;