harrystech / prelaunchr

A small and simple Rails 4 project that is ready to be used as a prelaunch site. It includes all the necessary requirements like prize groups, open/closed states, and simple social sharing.
MIT License
888 stars 532 forks source link

Setting up mail? #14

Closed jaxi123 closed 10 years ago

jaxi123 commented 10 years ago

hey guys, so i've got my prelaunchr app successfully deployed on heroku, set the prize lvls, secret token, and would like to know how i setup the mailer? also how do i harvest the collected emails as the csv? where can i get it from?

thank you!

vanev commented 10 years ago

Hey, thanks for using prelaunchr!

Please be sure to refer to our documentation and the documentation of Ruby on Rails before posting issues. Additionally, include in any issue what you've already tried, so that we can have a better idea of how to improve the prelaunchr project.

You can find information on collecting emails in CSVs in the Teardown section of this repo's README.md.

You can find information on setting up Mailers in Ruby on Rails all over the internet, but the Action Mailer Basics section of the Ruby on Rails Guides should be a great place to start.

If any of our documentation is unclear, please feel free to support this project by opening a pull request with your changes! :smiley:

Thanks again for helping us improve prelaunchr!

jaxi123 commented 10 years ago

well i've tried running both "heroku run rake prelaunchr:create_winner_csvs" and "rake prelaunchr:create_winner_csvs" nothing gets exported to the lib folder?

danielschwartz commented 10 years ago

One again, please be sure to read the documentation for Heroku. Heroku's cedar stack has ephemeral file storage, you can read the documentation concerning that feature here: https://devcenter.heroku.com/articles/dynos#ephemeral-filesystem

If your data is on Heroku you will need to somehow download your production database and run this command locally (or connect a local instance to your production DB). While we are happy to answer your questions, a GitHub Issue is not the right forum for them to be presented. You may be better served on StackOverflow or similar sites asking about the toolbelts that Prelaunchr is built ontop of rather than asking about Prelaunchr itself.

jaxi123 commented 10 years ago

Okay, so i successfully connected to my heroku database with pgadmin3, is there any way to run the command from there?