The Gamedev Garage Sale
Last month, I launched an experiment, with the goal to find a way to reward creators for publishing to the public domain. It was a success. Now, it would be ironic if I did not, too, release the very code behind that, to the world.
In this repo, is the full, configurable code from the original Gamedev Garage Sale.
Getting Started
The original Gamedev Garage site ran on Heroku, which I highly recommend. Heroku makes it simple & straightforward to setup your lil' app. Here's the way to do it:
- Clone this repo
- Install the Heroku Toolbelt
- Run "heroku create" on the terminal in the cloned folder
- Run "git push heroku master" on the terminal in the cloned folder
Voila, your Gamedev Garage sale is now live!
However, it's still running on the default variables. Let's change that.
Customizing Variables
Open up local.env. You should see something like this:
TOTAL=1337
DEADLINE=12/25/2013
MONGO_URI=mongodb://localhost:27017/commonly
[email protected]
SENDGRID_PASSWORD=password
[email protected]
[email protected]
SANDBOX_MODE=1
Here's what each line means:
- The 1st & 2nd lines set the total amount & deadline for the campaign.
- The 3rd line sets the MongoDB database this app uses.
- The 4th & 5th lines set your Sendgrid account, an automatic email-sender.
- The 6th & 7th lines are your Paypal emails, both production & sandbox.
- The 8th final line is a switch for the sandbox mode. Change it from '1' to '0' when you're ready to launch.
For your Heroku app, I recommend installing MongoDB & Sendgrid through their Addons Marketplace.
Closing Thoughts
I most likely messed up the code within, or the instructions in this Readme.
Please shoot me any questions & comments you have at [email protected]!