Update README.md

This commit is contained in:
wmcheng 2020-05-16 13:21:07 +08:00
parent 73780b90f9
commit 3000c51151
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ $ git clone git@gitlab.tp.rulingcom.com:saurabh/orbit4-5.git your_site_name
$ cd your_site_name $ cd your_site_name
$ vim config/mongoid.yml # 所有 orbit_4_5 換成 your_site_name, :wq 存檔離開 $ vim config/mongoid.yml # 所有 orbit_4_5 換成 your_site_name, :wq 存檔離開
$ vim Gemfile # 加井字號註解掉 gem 'sassc-rails', '~>1.3.0' 並拿掉此行 #gem 'sass-rails', '~> 4.0.2' 井字號取消註解 $ vim Gemfile # 加井字號註解掉 gem 'sassc-rails', '~>1.3.0' 並拿掉此行 #gem 'sass-rails', '~> 4.0.2' 井字號取消註解
$ $ gem install nokogiri -v 1.7.0.1 #For Ubuntu 20.04LTS
$ bundle install $ bundle install
$ RAILS_ENV=production bundle exec rake assets:precompile $ RAILS_ENV=production bundle exec rake assets:precompile
$ bundle exec unicorn_rails -c config/unicorn.rb -D -E production $ bundle exec unicorn_rails -c config/unicorn.rb -D -E production