Skip to content

hogemax/test_cloudinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Requirement

Installation

# 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

How to install direnv

$ brew install direnv

 or

$ git clone http://github.com/zimbatm/direnv
$ cd direnv
$ sudo make install

input your Cloudinary YML data

$ direnv edit .

#Setting for cloudinary
export CLOUDINARY_CLOUD_NAME="xxxxxxxx"
export CLOUDINARY_API_KEY="xxxxxxxxxxxxx"
export CLOUDINARY_API_SECRET="xxxxxxxxxxxxx"

Try on local server

bundle exec rails s