https://github.com/erperejildo/angular-meteor-skeleton
angular-meteor scaffolding
https://github.com/erperejildo/angular-meteor-skeleton
angular es6 meteor mobile
Last synced: about 2 months ago
JSON representation
angular-meteor scaffolding
- Host: GitHub
- URL: https://github.com/erperejildo/angular-meteor-skeleton
- Owner: erperejildo
- Created: 2017-06-08T14:22:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T09:19:07.000Z (about 9 years ago)
- Last Synced: 2025-03-27T14:53:07.544Z (about 1 year ago)
- Topics: angular, es6, meteor, mobile
- Language: HTML
- Size: 212 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# angular-meteor-skeleton
Default and basic scaffolding of an angular-meteor project using ES6. Configured for mobile apps and websites.
## Set up
- Download Meteor: https://www.meteor.com/install
- Install dependencies `npm install`
- Run the project either with `meteor run` (first time will take a while) or `meteor run --settings ./imports/settings.json`
if you are using some constant or environment variables.
You also can run the project directly on your phone with `meteor run android-device --settings ./imports/settings.json` (also available with IOS)
## Build and deploy
If you only want to build the project (not deploy it) just run:
- `npm install --production`
- `meteor build /path/to/build --architecture os.linux.x86_64` (for example if deploying to a Ubuntu linux server)
Either way this previous commands are not necessary as long as we have the deployment already configured on this project. Have a look to
the text file on `/.deploy/read.txt`
To build a mobile project add the platform:
- `meteor add-platform android` (also available for IOS)
- `meteor build ../output-build --server http://MY_SERVE_IP --mobile-settings ./imports/settings.json`
In `output-buil/android/release-unsigned.apk` we will found our apk to be installed on our Android device.
If you want to publish this app
on the Android Market you will need to sign it:
- `jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore private/myApp.keystore ../output-build/android/release-unsigned.apk myApp`
and align it:
- `myPath/Android/sdk/build-tools/23.0.3/zipalign 4 ../output-build/android/release-unsigned.apk ../output-build/myApp.apk`
## Testing
`meteor test --driver-package sanjo:jasmine`
----------
* Every file and folder on the project is documented, just have a look to the `read.txt` file or at the top of the file to see the comments.
* For further info go to the Meteor guide (https://guide.meteor.com/index.html) and angular-meteor repo (https://github.com/urigo/angular-meteor/)
* For a fully working and simplify example have a look to this other repository: https://github.com/erperejildo/find-restaurants