Git Product home page Git Product logo

Comments (9)

frdmn avatar frdmn commented on August 21, 2024

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    

from dashboard.

keepnone avatar keepnone commented on August 21, 2024

No still does not work... I have tried everything

from dashboard.

frdmn avatar frdmn commented on August 21, 2024

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 [email protected] wrote:

No still does not work... I have tried everything

Reply to this email directly or view it on GitHub:
#46 (comment)

from dashboard.

keepnone avatar keepnone commented on August 21, 2024

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/ | [email protected]: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>

from dashboard.

frdmn avatar frdmn commented on August 21, 2024

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 [email protected] 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/ | [email protected]: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:
#46 (comment)

from dashboard.

keepnone avatar keepnone commented on August 21, 2024

How would I set up the external?

from dashboard.

keepnone avatar keepnone commented on August 21, 2024

And then continue with the regular installation?

from dashboard.

k102168 avatar k102168 commented on August 21, 2024

hi can I use stormpath heroku addon without credit card number?

from dashboard.

frdmn avatar frdmn commented on August 21, 2024

@k102168 The free plan is (obviously) free 😀

https://addons.heroku.com/stormpath

Perhaps you need to add your CC for confirmation purposes though. Im not quite sure about that.

from dashboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.