-
Notifications
You must be signed in to change notification settings - Fork 19
Local Build and Deploy Guide
To deploy this package to Atmosphere one needs permission. I am currently trying to move this package to a Meteor Organization while keeping the stars and download stats. I have filed an issue on the Meteor Github issue tracker. I will however write the guide assuming permission.
-
git clone the repo into a local file dir
-
Add these lines in your .bashrc or .zshrc when testing (assuming meteor-leaflet is in /foo/bar) - this will use the local package and not the Atmosphere package
# for meteor local package development
export PACKAGE_DIRS=/foo/bar
-
git clone the meteor-leaflet-demo app into a local dir
-
After making changes in meteor-leaflet run following command in the meteor-leaflet-demo folder:
meteor update
-
Ensure you have git branched meteor-leaflet and submit your PR while done (remember to increment the semver of the package - unless just a readme update)
-
The PR will be reviewed and merged by another team member (most likely the owner)
-
Tag the release (Atmosphere doesn't require it but it is best practice)
-
In the meteor-leaflet dir - login to your meteor account (if not already)
9a. run this command on the CLI in the meteor-leaflet dir if updating code:
meteor publish
9b. run this command if you are just updating the readme:
meteor publish --update
- Comment out the line added in your .zshrc or .bashrc in step 2 when done