Coder Social home page Coder Social logo

deployment issue about pup HOT 8 CLOSED

cleverbeagle avatar cleverbeagle commented on May 20, 2024
deployment issue

from pup.

Comments (8)

swyxio avatar swyxio commented on May 20, 2024

in case it matters, i am using this buildpack: https://github.com/AdmitHub/meteor-buildpack-horse

from pup.

Davidlab avatar Davidlab commented on May 20, 2024

You need to start Meteor with npm start which will in return call the command meteor --settings settings-development.json from the start script in your package.json file. This will set the value of 'OAuth' during startup.

from pup.

swyxio avatar swyxio commented on May 20, 2024

thats obviously only for running it in dev on local machine right? what about when i need to run it in production on heroku. that is what i call deployment.

from pup.

justin88 avatar justin88 commented on May 20, 2024

Did you write your own settings-production.json? See details here:

from pup.

swyxio avatar swyxio commented on May 20, 2024

hello, yes, i did write my own settings-production.json. however it seemed like it wasnt deploying correctly on heroku. i havent managed to figure out how to fix it the "correct" way but i have commented out the oauth check for now in pup.

from pup.

joserocha3 avatar joserocha3 commented on May 20, 2024

@sw-yx did you add a config variable for METEOR_SETTINGS to your app on the heroku dashboard?

Choose your app -> settings -> reveal config vars -> add METEOR_SETTINGS and paste in the json from your settings file, then redeploy.

This is specific to heroku. Other hosting providers allow you to upload your settings during build. I have it running here.

screenshot_20170625-210543

from pup.

joserocha3 avatar joserocha3 commented on May 20, 2024

On a side note, if you are not going to enter oauth values then set your METEOR_SETTINGS config var to this. That will avoid the oauth buttons from getting a setup.

{
  "private": {},
  "public" :{}
}

from pup.

swyxio avatar swyxio commented on May 20, 2024

ahh. i will try this. this sounds very promising. thanks very much @joserocha3, closing for now. may want to put this (Heroku deployment notes) somewhere in the docs (maybe its obvious and i'm just a newbie).

from pup.

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.