Closed keepnone closed 10 years ago
Create a Heroku account for free, download and install the Heroku Toolbelt.
Now continue like this:
# Clone the source code
$ git clone https://github.com/SamyPesse/reportr.git && cd ./reportr
# Create your heroku instance, write down your assigned hostname (xyz.herokuapp.com)
$ heroku create
# Add the MongoLab addon free plan
$ heroku addons:add mongolab:sandbox
# Set some environment variables
$ heroku config:set HOST="xyz.herokuapp.com"
$ heroku config:set SESSION_SECRET="${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}"
# Deploy the application
$ git push heroku master
# Open the application in your browser
$ heroku open
If you run into problems, remember always to use heroku logs -t
to parse the latest application stderr and stdout logs!
In case you have a problem like this:
[log][trackers] init tracker facebook
at module.exports (/app/node_modules/node-foursquare/lib/node-foursquare.js:67:12)
at trackers.register.initWorker (/app/lib/tracker.foursquare/main.js:27:22)
Error in the application:
at TrackerService.init (/app/lib/trackers/main.js:73:10)
Add the following additional env variables to your Heroku instance:
$ heroku config:set \
HOST="<host>" \
SESSION_SECRET="<secret>" \
FACEBOOK_CLIENTID=1 \
FACEBOOK_CLIENTSECRET=1 \
TWITTER_CLIENTID=1 \
TWITTER_CLIENTSECRET=1 \
FOURSQUARE_CLIENTID=1 \
FOURSQUARE_CLIENTSECRET=1 \
GITHUB_CLIENTID=1 \
GITHUB_CLIENTSECRET=1 \
RUNKEEPER_CLIENTID=1 \
RUNKEEPER_CLIENTSECRET=1 \
FITBIT_CLIENTID=1 \
FITBIT_CLIENTSECRET=1
No still does not work... I have tried everything
Well, what exactly doesn't work? You need to provide some additional informations so we can help you.
Restart your Heroku instance and give us the output of heroku logs -t
while you reproduce the bug.
— Sent from Mailbox for iPhone
On Mon, Dec 9, 2013 at 12:10 AM, Postrr notifications@github.com wrote:
No still does not work... I have tried everything
Reply to this email directly or view it on GitHub: https://github.com/SamyPesse/reportr/issues/46#issuecomment-30095940
Well first I get this...
Microsoft Windows Version 6.2.9200 2012 Microsoft Corporation. All rights reserved.
C:\Users\Peter>cd documents
C:\Users\Peter\Documents>git clone https://github.com/SamyPesse/reportr.git && c d ./reportr Cloning into 'reportr'... remote: Counting objects: 1707, done. remote: Compressing objects: 100% (896/896), done. remote: Total 1707 (delta 790), reused 1675 (delta 766) Receiving objects: 100% (1707/1707), 2.48 MiB | 1.69 MiB/s, done. Resolving deltas: 100% (790/790), done.
C:\Users\Peter\Documents\reportr>heroku create Creating glacial-river-6240... done, stack is cedar http://glacial-river-6240.herokuapp.com/ | git@heroku.com:glacial-river-6240.git
Git remote heroku added
C:\Users\Peter\Documents\reportr>heroku addons:add mongolab:sandbox Adding mongolab:sandbox on glacial-river-6240... failed ! Please verify your account to install this add-on ! For more information, see http://devcenter.heroku.com/categories/billing ! Verify now at https://heroku.com/verify
C:\Users\Peter\Documents\reportr>
Oh, okay. I wasn't aware that you can't add addons without a verified (you have added a valid CC in your profile) account. That means you NEED an credit card even if it won't cost you anything at all. Another option is you set up an external MongoDB and use that connection instead. That is probably a bit more complex though.
— Sent from Mailbox for iPhone
On Mon, Dec 9, 2013 at 12:19 AM, Postrr notifications@github.com wrote:
Well first I get this... Microsoft Windows Version 6.2.9200 2012 Microsoft Corporation. All rights reserved. C:\Users\Peter>cd documents C:\Users\Peter\Documents>git clone https://github.com/SamyPesse/reportr.git && c d ./reportr Cloning into 'reportr'... remote: Counting objects: 1707, done. remote: Compressing objects: 100% (896/896), done. remote: Total 1707 (delta 790), reused 1675 (delta 766) Receiving objects: 100% (1707/1707), 2.48 MiB | 1.69 MiB/s, done. Resolving deltas: 100% (790/790), done. C:\Users\Peter\Documents\reportr>heroku create Creating glacial-river-6240... done, stack is cedar http://glacial-river-6240.herokuapp.com/ | git@heroku.com:glacial-river-6240.git Git remote heroku added C:\Users\Peter\Documents\reportr>heroku addons:add mongolab:sandbox Adding mongolab:sandbox on glacial-river-6240... failed ! Please verify your account to install this add-on ! For more information, see http://devcenter.heroku.com/categories/billing ! Verify now at https://heroku.com/verify
C:\Users\Peter\Documents\reportr>
Reply to this email directly or view it on GitHub: https://github.com/SamyPesse/reportr/issues/46#issuecomment-30096195
How would I set up the external?
And then continue with the regular installation?
hi can I use stormpath heroku addon without credit card number?
@k102168 The free plan is (obviously) free :grinning:
https://addons.heroku.com/stormpath
Perhaps you need to add your CC for confirmation purposes though. Im not quite sure about that.
How can I install this on Heroku for free, without entering a credit card?
Thank you
Sincerely, Postrr