I’m new to programing and rails and I’d like to create a copy of a rails app I’m working with to harmlessly try out some things. Is there an easy way to make that happen?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can. These commands weren’t obvious to a newbie like me and may help someone else…
First, depending on what you plan on calling your new deployed app, find a name that is currently available on heroku.
From root of old and to be created new rails app:
To generate a new secret key for your new app:
Next, save the newly created secret key as an environmental variable on Heroku with the following command:
More details about storing secret keys, etc., as environmental variables can be found on Daniel Fone’s Blog.
Finally: