Reputation: 26
I am being asked to deploy a meteor app to a build server that does not have internet access. The build server can download Meteor, Npm packages, etc, from a private JFrog Artifactory repo on a local network server. The meteor app also has Atmosphere package dependencies. How can I configure Meteor to point to Artifactory (or any private repo) for Atmosphere packages, or otherwise solve this problem?
Upvotes: 0
Views: 347
Reputation: 143
At the moment I am facing the same problem and this is what I did:
Meteor will not try to download the packages from Atmosphere if they are already available. Not the best solution, especially because if your dependencies change you will need to update the tarball, however it works.
Upvotes: 0
Reputation: 7777
You only access Atmosphere or github at build/deploy time. So usually if you use mup to deploy to your server, it won't matter that it's not online.
If it has to be built by a build server, then that build server will need network access, unless you want to configure a local repository for it to get files from.
There are some places here for you to look further into how to do it:
https://www.npmjs.com/package/sinopia
can you host a private repository for your organization to use with npm?
https://addyosmani.com/blog/using-npm-offline/
Local NPM/Atmosphere package repositories for Meteor applications without internet access
Upvotes: 1