Commit 3e240ad2 by Tô Ngọc Ánh

Config app to deploy on heroku

parent 4e70cfdf
...@@ -59,6 +59,8 @@ group :test do ...@@ -59,6 +59,8 @@ group :test do
gem 'chromedriver-helper' gem 'chromedriver-helper'
end end
gem 'rubyzip', group: :production
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
......
...@@ -209,6 +209,7 @@ DEPENDENCIES ...@@ -209,6 +209,7 @@ DEPENDENCIES
nokogiri nokogiri
puma (~> 3.11) puma (~> 3.11)
rails (~> 5.2.4, >= 5.2.4.3) rails (~> 5.2.4, >= 5.2.4.3)
rubyzip
sass-rails (~> 5.0) sass-rails (~> 5.0)
selenium-webdriver selenium-webdriver
spring spring
......
<div class='banner_top'> <div class='banner_top'>
<%= image_tag 'venjob-banner',class: 'banner_img'%> <%= image_tag 'venjob-banner.jpg',class: 'banner_img'%>
<div class='overlay'></div> <div class='overlay'></div>
<div class='box_seach text-center'> <div class='box_seach text-center'>
<h3>We have <%= @total_jobs %> jobs for you</h3> <h3>We have <%= @total_jobs %> jobs for you</h3>
......
...@@ -52,3 +52,5 @@ production: ...@@ -52,3 +52,5 @@ production:
database: VeNJob_AnhTN_production database: VeNJob_AnhTN_production
username: VeNJob_AnhTN username: VeNJob_AnhTN
password: <%= ENV['VENJOB_ANHTN_DATABASE_PASSWORD'] %> password: <%= ENV['VENJOB_ANHTN_DATABASE_PASSWORD'] %>
url: <%= ENV['JAWSDB_URL'] %>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment