Skip to main content

APP_DETAIL: Get data records from real DB into local DB

Open link: https://www.powr.io/app_details.json

copy data and paste it into powr/lib/app_copy.json

in command line run: rake utility:json_to_app_copy or heroku run rake utility:json_to_app_copy -a powr-staging to install it to staging you might also need to run AppDetail.update_all(active: true) in rails console to activate all Apps

check DB for changes: select * from app_details;