[Obsolete] How to move simple copies around to different servers
Take simple copies from live server and get them into git: Visit https://www.powr.io/simple_copies.json Copy and paste that response into lib/simple_copies.json file on your local machine
- If you want to load simple copies into your local environment:
bundle exec rake translate:force_json_to_simple_copies
- If you want to load simple copies into staging. Commit the new simple_copies.json file and push to staging. Then run:
heroku run rake translate:force_json_to_simple_copies --remote staging
If you are not seeing the changes locally… Make sure your application.yml has the following line in the development somewhere:
REDISTOGO_URL: redis://localhost:6379
Then restart your server. … . If you already had that, you can just go to rails console and run Rails.cache.clear