- Ruby version = 2.5.0
- Rails version = 5.2.0
- Cloudinary Account https://cloudinary.com/
# cd Project_directory_somewhere
$ git clone --depth 1 https://github.com/hogemax/test_cloudinary.git
$ bundle install --path vendor/bundle --jobs=4
$ bundle exec rails db:migrate
# For example, need direnv in this after
$ brew install direnv
or
$ git clone https://github.com/zimbatm/direnv
$ cd direnv
$ sudo make install
$ direnv edit .
#Setting for cloudinary
export CLOUDINARY_CLOUD_NAME="xxxxxxxx"
export CLOUDINARY_API_KEY="xxxxxxxxxxxxx"
export CLOUDINARY_API_SECRET="xxxxxxxxxxxxx"
bundle exec rails s