Skip to content

Setting up the demo app

E. Lynette Rayle edited this page Dec 18, 2019 · 7 revisions

Setting up the demo app

new rails app for postgres

rails new valkyrie_pg_demo --database=postgresql
cd valkyrie_pg_demo

add Valkyrie to the app

Edit Gemfile and add...

gem 'valkyrie'

Run bundler (example shows adding bundled gems to vendor/bundle directory in the app.)

bundle install --path=vendor/bundle

If you plan to commit the demo to github, you may want to verify the following are in .gitignore and add them if they aren't

# Ignore vendor/cache and bundle
/vendor/cache
/vendor/bundle

Previous | Next