# pastebin **Repository Path**: mirrors_brancz/pastebin ## Basic Information - **Project Name**: pastebin - **Description**: Simple rails based pastebin - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Pastebin You can deploy this pastebin to Heroku in a few simple steps. ## Create the config file and push to Heroku Go to the root directory of the repository. Then create the repository on heroku and add postgres and mandril for sending registration emails. heroku create heroku addons:add heroku-postgresql:dev If you want to send confirmation/unlock/forgotten password emails you are going to need a service like Mandrill. Note: your heroku account needs to be varified for Mandrill. To add Mandrill to your Heroku app use this command. heroku addons:add mandrill:starter Then use this command to create the sample configuration file. cp config/vim_pastebin.yml.example config/vim_pastebin.yml Then edit the config to match your needs. Change host, add github oauth settings and add mandrill smtp if you chose to use it. vim config/vim_pastebin.yml Once you are done with that, you can add the config file to git and push it. git add -f -A git commit -m "Heroku Deploy" git push heroku master Then you have to initialize the database. heroku run rake db:migrate