{"id":20135806,"url":"https://github.com/maxfi/shippable-meteor-galaxy","last_synced_at":"2025-08-28T22:19:47.211Z","repository":{"id":153436066,"uuid":"52572079","full_name":"maxfi/shippable-meteor-galaxy","owner":"maxfi","description":"Shippable with Meteor Galaxy","archived":false,"fork":false,"pushed_at":"2016-02-26T05:45:14.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T22:41:45.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-26T02:18:08.000Z","updated_at":"2017-04-24T15:54:11.000Z","dependencies_parsed_at":"2023-05-10T15:15:27.546Z","dependency_job_id":null,"html_url":"https://github.com/maxfi/shippable-meteor-galaxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxfi/shippable-meteor-galaxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxfi%2Fshippable-meteor-galaxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxfi%2Fshippable-meteor-galaxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxfi%2Fshippable-meteor-galaxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxfi%2Fshippable-meteor-galaxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxfi","download_url":"https://codeload.github.com/maxfi/shippable-meteor-galaxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxfi%2Fshippable-meteor-galaxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272566852,"owners_count":24956669,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T21:16:35.599Z","updated_at":"2025-08-28T22:19:47.190Z","avatar_url":"https://github.com/maxfi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shippable-meteor-galaxy\n\u003e Inspired by [Migrating Meteor Apps from Modulus to Galaxy with Continuous Deployment from Codeship](https://medium.com/@natestrauser/migrating-meteor-apps-from-modulus-to-galaxy-with-continuous-deployment-from-codeship-aed2044cabd9) written by @nate-strauser\n\nUse Shippable to deploy to Meteor Galaxy.\n\n## Overview\n\nShippable encourages users to encrypt sensitive data in [encrypted environment variables](http://docs.shippable.com/project_settings/#encrypt-environment-variables) rather than in plain text in their `shippable.yml`... and rightly so!\n\nThe only issue is that can be a real pain to get your Meteor authentication token and Meteor settings, both of which are JSON representations, working in Shippable.\n\nThe supplied `shippable.yml` in this repo helps you with that and will hopefully save you hours of debugging.\n\nPlease see @nate-strauser's article [Migrating Meteor Apps from Modulus to Galaxy with Continuous Deployment from Codeship](https://medium.com/@natestrauser/migrating-meteor-apps-from-modulus-to-galaxy-with-continuous-deployment-from-codeship-aed2044cabd9) for a more details.\n\n## Requirements\n\n#### Meteor settings\n\nmeteor_settings.json\n```JSON\n{\n\t\"galaxy.meteor.com\": {\n\t\t\"env\": {\n\t\t\t\"ROOT_URL\": \"http://www.awesomesite.com\",\n\t\t\t\"MONGO_URL\": \"mongodb://USERNAME:PASSWORD@candidate.22.mongolayer.com:12345,candidate.21.mongolayer.com:12345/somedatabase\",\n\t\t\t\"MONGO_OPLOG_URL\": \"mongodb://USERNAME:PASSWORD@candidate.22.mongolayer.com:12345,candidate.21.mongolayer.com:12345/local?authSource=somedatabase\",\n\t\t\t\"MAIL_URL\": \"smtp://postmaster@awesomesite:PASSWORD@smtp.mailgun.org:587\"\n\t\t}\n\t}\n}\n```\nFor more info see [Meteor.settings docs](http://docs.meteor.com/#/full/meteor_settings)\n\n#### Meteor auth token\n\nOn a box where you have meteor installed run:\n\n```sh\n$ METEOR_SESSION_FILE=meteor_token.json meteor login\n```\nto get the `meteor_token.json` file.\n\n#### Shippable encrypted environment variable string\n\nIn the directory where you have your `meteor_settings.json` and `meteor_token.json` files run:\n\n```sh\n$ node create-env-string.js \u003chostname\u003e\n```\n\nor if you have your files somewhere else run:\n\n```sh\n$ node create-env-string.js \u003chostname\u003e \u003ctoken-path\u003e \u003csettings-path\u003e\n```\n\n**NOTE:** `hostname` is the fully qualified domain name where you're planning to host your application (for example, 'www.awesomesite.com').\n\n## Usage\n\n1. Get your METEOR_SETTINGS and METEOR_TOKEN into the correct format to enter in the [encrypted environment variables](http://docs.shippable.com/project_settings/#encrypt-environment-variables) section on your project's shippable settings page. Use the output from the _Shippable encrypted environment variable string_ section above.\n\n2. Insert the formatted string in the [encrypted environment variables](http://docs.shippable.com/project_settings/#encrypt-environment-variables) section on your project's shippable settings page and click the encrypt button.\n\n3. Copy the output to the `env` section in the `shippable.yml`.\n4. Copy the updated `shippable.yml` to your project and enjoy automated Meteor Galaxy deployments. :-)\n\n\n## TODO\n\n* Review best approach for multi branch deployment.\n\t* http://stackoverflow.com/a/10810859\n\t* https://github.com/shippableSamples?utf8=%E2%9C%93\u0026query=branch\n* Check if there is a shippable API to get the encrypted string as part of the string creation script.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxfi%2Fshippable-meteor-galaxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxfi%2Fshippable-meteor-galaxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxfi%2Fshippable-meteor-galaxy/lists"}