cake-js

Pull production data to local database

Usage no npm install needed!

<script type="module">
  import cakeJs from 'https://cdn.skypack.dev/cake-js';
</script>

README

Cake JS

Installation

heroku plugins:install cake-js

Add CAKE_LOCAL_DB and CAKE_REMOTE_APP to your system environment variables.

export CAKE_LOCAL_DB=example_db
export CAKE_REMOTE_APP=example-app

cd into your rails project and run heroku cake:slice.