Skip to content

Miller-Media/meteor-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meteor App Repo

=========================

Prerequisites

OSX/Linux

  1. Install Meteor - $ curl https://install.meteor.com/ | sh
  2. Install Meteor (specific version) - $ curl https://install.meteor.com/?version=1.8.1 | sh

Windows

  1. Install Chocolatey - https://chocolatey.org/install
  2. Install Meteor - $ choco install meteor

Both

  1. Install Meteor Up - $ meteor npm install -g mup
  2. Duplicate this repo and clone the duplicate - $ git clone https://github.com/Miller-Media/{your-duplicate-repo}.git

Run App Locally

Install requirements and run the app locally with the following steps:

  1. $ cd ./app
  2. $ meteor npm install - (install required npm packages)
  3. $ meteor npm run cordova-setup - (install required cordova plugins)
  4. $ meteor npm run atmosphere-setup - (install required atmosphere packages)
  5. $ cp settings-example.json settings-staging.json - (copy example settings file and update with real data)
  6. IMPORTANT: You must update the settings-staging.json file with public.firebase and firebaseServiceAccount info before proceeding.
  7. $ meteor --settings {settings-file}.json - (e.g. settings-staging.json)

Add Platforms

In order to generate the appropriate source projects to run the app on Android and/or iOS, the following commands must be ran, and the pre-requisites met.

$ meteor add-platform android
$ meteor add-platform ios

The setup of the pre-requisites for building on these platforms is also documented here: https://guide.meteor.com/mobile.html#installing-prerequisites

When installing the Java SDK, a very specific version is needed, which is located here: https://drive.google.com/open?id=1B7_oWuS8XFm9_lm38i2UJ1joc2Ix3glW

Building, Deploying, & Releasing App

$ meteor build ../build --server=https://{my-app.my-domain.com}
$ cd ./deploy/{staging or production}
$ mup deploy

See: https://millermedia.atlassian.net/wiki/spaces/ENG/pages/638255118/Building+Deploying

Frameworks

CSS Animations
Use the animation classes for quick and easy animations.
Animate.css: https://animate.style/

Flex Layout CSS
Use the flex utility classes for easy screen layout.
SuitCSS: https://github.com/suitcss/utils-flex

UI Components
Use the UI components for easy UI widgets.
Onsen UI: https://onsen.io/v2/api/react/
Ionic: https://ionicframework.com/docs/components

About

Basic repository structure for a new Meteor app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published