From the course: Adding Stripe Payments to Your Ruby on Rails Application

Using the exercise files

- [Instructor] Each lesson contains its own exercise file. If you download that and extract the ZIP file, you'll find a store folder inside. This is going to contain the entire code for the Rails app up until the beginning of the that episode so you can follow that lesson and then apply the code that we talked about in that lesson to this and the other file inside that's special is NOTES.md. If you open this up, this is all of the links and references that I mentioned during the lesson. I'll add those into this list and accumulate those throughout the course. The last thing that I want to mention is that if you're extracting new folder for the next lesson, you want to go back into the previous lesson and copy over the secrets.yml after you put your API keys in there, and you want to paste that into the new config folder and replace the secrets.yml here so that you have your API keys easily setup and the last thing is that your database, your development.sqlite file will be created and you want to move that over so you want to copy this and paste it into the new db folder which will not contain a database. So, that way, you can keep the same users and everything and all of your migrations will be operated on this database as you go along. So, you can copy that into the new exercises as you go along and not have to setup your database from scratch every time. And don't forget copying over your database is going to require you to run any new migrations in the next exercise folder so Rails will remind you if you forget to run reg db migrate after copying your database over.

Contents