Code Monkey home page Code Monkey logo

charityserv's Introduction

CharityServe

This reposity is for the CharityServ App

Getting Started

  1. Clone to your workspace.
  2. Open in visual studio code or whatever terminal your using
  3. Run these commands in the following order in the terminal
npm install
ionic cordova prepare
  1. Run one of these commands to test locally in your browser. Some plugins may not work because of beening run in browser not on actual device.
ionic serve
ionic lab

Basic Usage

  1. Enviornment Variables I added the ability to have different setting depending on if we want to build for local, dev, prod. The setting exist in src/environments should be easy to tell which files are for which environments. To build for the different enviornments use these commands. Look at package.json for more details on these or to modify them
//builds for android
npm run cordova:build:android 
npm run cordova:build:android:dev
npm run cordova:build:android:prod
//run on android
npm run cordova:run:android 
npm run cordova:run:android:dev
npm run cordova:run:android:prod
//builds for ios
npm run cordova:build:ios
npm run cordova:build:ios:dev
npm run cordova:build:ios:prod
//builds run ios
npm run cordova:run:ios
npm run cordova:run:ios:dev
npm run cordova:run:ios:prod
//Run in browser
ionic serve
npm run ionic:serve:dev
npm run ionic:serve:prod

Prerequisites

  1. Make sure node.js is installed (https://nodejs.org/en/)
  2. Once nodejs is installed run the following command in cmd
npm install -g cordova ionic
  1. Install visual studio code (or some other editor) (https://code.visualstudio.com/download)
  2. For android use make sure to install Android studio (https://developer.android.com/studio/index.html) make sure it exists on your main drive because you will need command line functions to work properly. (at least in my experience i needed to do that)

Potential Errors

  1. If when you build you get an error about promise-polyfill run the following command
npm install promise-polyfill --save-exact

Ionic Docs

charityserv's People

Contributors

aszampiasswd avatar

Watchers

James Cloos avatar  avatar Ryan Pascal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.