Skip to content

tmichalski/PokerLeague

Repository files navigation

Poker League

A poker league management app useful for socially tracking seasons, rankings, events, etc.

PokerLeageAPI Companion App

This project, PokerLeague, is the mobile app view. A companion API project that facilitates the web services & data storage for this mobile app can be found at https://github.com/tmichalski/PokerLeagueAPI

Coding Standards

This app is built on Ionic Framework. Follow the CSS and other conventions of the Ionic Framework.

This codebase follows the John Papa's AngularJS 1 style guide as closely as possible. Please do the same.

Developer Setup

Setup Env

Update your OS hostname file to route "pokerleague.lssinc.com" to localhost.

sudo vi /etc/hosts

Add the following line to /etc/hosts

127.0.0.1 pokerleague.lssinc.com

Install Node Package Manager (npm)

Clone the PokerLeague project locally (assumes you already have git installed)

$ cd /my/workspace

$ git clone https://github.com/tmichalski/PokerLeague.git

$ cd /my/workspace/PokerLeague

Apache Cordova & Ionic Framework

$ npm install -g cordova ionic

iOS Ionic/Cordova Platform (Mac OSX Only)

$ ionic platform add ios

Android Ionic/Cordova Platform

$ ionic platform add android

Browser Ionic/Cordova Platform (required for local testing)

$ ionic platform add browser

Install app dependencies

$ bower install

NOTE: Bower may ask you which version of AngularJS to use. If so, choose angular#1.5.3 as of 6/12/2016.

Run App

Be sure the PokerLeagueAPI app is running and listening on whatever hostname:port is configured in /www/app/app.config.js

Emulate Browser (for local development)

$ ionic emulate browser

Emulate iOS

$ ionic build ios

$ ionic emulate ios

Emulate Android

$ ionic build android

$ ionic emulate android

App Config

IDE: JetBrains WebStorm / IntelliJ IDEA

  • IntellJ IDE > Preferences > Plugins > Browse Repositories... and install the following plugins:
    • PhoneGap/Cordova
    • AngularJS
  • Run > Edit Configurations
    • Click the "+" sign to add a new configuration
    • Choose "PhoneGap/Cordova" from the "+" drop-down list
    • Enter the following options
      • Name: Emulate Browser
      • PhoneGap/Cordova executable: /usr/local/bin/ionic
      • PhoneGap/Cordova working directory: (ie /Users/tim/Documents/workspace/PokerLeague)
      • Command: emulate
      • Platform: browser
    • Click "Ok" to save
    • Repeat this setup for each platform by changing the "Name" and "Platform" variables.
  • In the "Run" drop-down list in the main toolbar, select your run option and click the green "Play" button to launch the app.
    • Be sure the PokerLeagueAPI app is running and listening on whatever hostname:port is configured in /www/app/app.config.js

Marketplace Deploys

Google Play

Refer to the following article to build an APK and sign it for deploy to the Google Play store. http://ionicframework.com/docs/guide/publishing.html

NOTE: Tim Michalski has the private key for signing the official Poker League app to Google Play.

About

A poker league management app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published