项目作者: honestworker

项目描述 :
Ruby On Rails Woocommerce
高级语言: HTML
项目地址: git://github.com/honestworker/fish_market.git
创建时间: 2019-07-15T13:56:42Z
项目社区:https://github.com/honestworker/fish_market

开源协议:GNU General Public License v3.0

下载


fishday

Ruby on Rails

Deployment Referent Document

https://www.digitalocean.com/community/tutorials/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-18-04

Additional Command

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib

gem install bundler
gem update —system

sudo usermod -aG sudo,adm mr7elmi
/etc/profile.d/rbenv.sh
/etc/puma.conf
/etc/nginx/sites-enabled

Local setting

locale-gen en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales

DB Seed

RAILS_ENV=production bundle exec rake db:seed