Comments (8)
in case it matters, i am using this buildpack: https://github.com/AdmitHub/meteor-buildpack-horse
from pup.
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.
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.
Did you write your own settings-production.json? See details here:
from pup.
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.
@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.
from pup.
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.
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)
- Real-time updates HOT 6
- How to Connect to a react native app with pupql HOT 4
- compose is not a function HOT 3
- Update Apollo Client and Apollo Server Usage HOT 4
- Application stuck when trying to run. HOT 4
- checkIfBlackListed does not work as expected! HOT 4
- Paste true may be necessary on e2e tests login helper
- Incorporate Code Splitting for Pup V2 & client side Redux HOT 9
- Access Meteor settings file from Jest? HOT 2
- graphQL httpUri on staging and production settings HOT 1
- How to upgrade from v1-> v2 HOT 3
- Add License File
- Wildcard instead of GraphQL? HOT 3
- Upgrade to latest version of alanning:roles HOT 1
- is this repo still maintained? HOT 9
- Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3000/graphql. (Reason: CORS request did not succeed). HOT 5
- Adding gql property to type user HOT 4
- Password only oauth possible? HOT 9
- Pup is moving!
- Apollo version and hooks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pup.