SDM2016Friends / Assignment2

Software Development Method Assignment
0 stars 2 forks source link

There is no secrets.yml #3

Closed chandleryang76 closed 8 years ago

chandleryang76 commented 8 years ago

I wonder there is no secrets.yml in sprint0 branch. Is there any special reason for leaving out the file?

allenzhong commented 8 years ago

Because some .yml file such as secrets.yml and database.yml are local environment-related, people often create them by themselves. You could check .gitignore file where both secrets.yml and database.yml were ignored.

allenzhong commented 8 years ago

you could create a new secret.yml or copy from another project. Then execute rake secret and copy the token to your secret.yml.

chandleryang76 commented 8 years ago

Yeah, you're right. but, I am thinking about auto-build in Travis CI and automatically deploy it on Heroku. I am wondering how to generate secrets.yml automatically to deploy it.

allenzhong commented 8 years ago

this file will be generated on Heroku, don't worry. But I'm not sure it could be generated by Travis CI, I need check

chandleryang76 commented 8 years ago

Oh, thanks.