Comments (3)
Try it like this:
$ demeteorizer --output ../build --json "{ \"settings\": $(cat settings.local.json) }"
Please confirm that solves your issue so I can update the README.
from demeteorizer.
It did worked, but I still encounter the same issue with regards to accessing Meteor.settings.public.keycloak. Any clues regarding this?
from demeteorizer.
I'm not sure about how settings
in the package.json works. It's possible that
this isn't a think anymore now that Meteor is using package.json for npm deps now
(I searched around and couldn't find anything about this).
Just to get things working, create a METEOR_SETTINGS
environment variable with
your settings. This seems to be the most common case for accessing the settings
outside of consuming the file directly.
You can use a similar command to make this work
$ export METEOR_SETTINGS="$(cat settings.local.json)"
from demeteorizer.
Related Issues (20)
- Is this necessary with Meteor 1.4 anymore? HOT 4
- [request] Change the way Modulus deploys a Meteor App HOT 1
- error with NPM start HOT 2
- SSL on demeteorized application HOT 2
- Replace server/npm/node_modules folder with package.json HOT 1
- Modulus still uses nodejs 0.10.x to deploy an app HOT 16
- Removing process.chdir HOT 1
- License needs an update.
- meteor with dummy mongo URL doesn't work HOT 2
- trying to pass env variables to deployed app HOT 7
- Meteor app deployed on azure, throw an error and doesn't show up HOT 3
- Error: key emails.address must not contain '.' HOT 16
- Deployment to Azure fails "Changes commited to remote repo but deployment to website failed" HOT 5
- Missing modules when deploying to google app engine
- Error: spawn ENOMEM
- Serving images out of /public directory
- multi threaded ?
- "npm start" error on Linux HOT 2
- Error occurred, type: error, text: Invalid path for filesystem 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 demeteorizer.