GithubHelp home page GithubHelp logo

isabella232 / notes-app-ionic-pro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moduscreateorg/notes-app-ionic-pro

0.0 0.0 0.0 1.92 MB

This is sample application built with Ionic to demonstrate the tools & services provided by Ionic Pro.

License: MIT License

TypeScript 20.04% HTML 19.19% CSS 9.49% JavaScript 2.35% Shell 37.34% Dockerfile 11.58%

notes-app-ionic-pro's Introduction

Logo of the project

Notes App Ionic Pro

PRs Welcome MIT Licensed

Code in Ionic, build in Jenkins/Travis and test on AWS Device Farm! The source can be built via Jenkins or TravisCI (see Jenkinsfile & .travis.yml respectively), then tested on AWS Device Farm and uploaded to AWS S3.

Developing

Setting up Dev

When developing in Docker, we might also want to access AWS CLI and so we need to pass in the AWS credentials into our Docker container, as shown below:

# Make a copy of the environment file.
$ cp ./ci/env.sample ./ci/env.dev # You can make it `env.prod` or anything you want.

# Edit to add your own AWS credentials.
$ vim ./ci/env.dev

# Build the `ionic-ci-cd` image.
# ANDROID_API_LEVEL and ANDROID_BUILD_TOOLS_VERSION are optional.
$ docker build \
    --rm \
    -t ionic-ci-cd \
    --build-arg USER=$(id -un) \
    --build-arg GROUP=$(id -gn) \
    --build-arg UID=$(id -u) \
    --build-arg GID=$(id -g) \
    --build-arg ANDROID_API_LEVEL=26 \
    --build-arg ANDROID_BUILD_TOOLS_VERSION="26.0.2" \
    .

# Run the `ionic-jenkins-container` container, loading environment variables from the file `env.dev` into the container.
$ docker run \
    --rm \
    -it \
    --name=ionic-ci-cd-container \
    -v ${PWD}:$HOME/notes-app-ionic-pro \
    -w $HOME/notes-app-ionic-pro \
    --env-file ./ci/env.dev \
    ionic-ci-cd

The above should provide you with a Docker container within which you can begin developing.

Style guide

To check for style compliance within shell scripts, use shellcheck:

# Searches for all files that end with '.sh' and runs them through 'shellcheck'
$ find ./ci/ -type f -name '*.sh' -exec shellcheck {} \;

Modus Create

Modus Create is a digital product consultancy. We use a distributed team of the best talent in the world to offer a full suite of digital product design-build services; ranging from consumer facing apps, to digital migration, to agile development training, and business transformation.

Modus Create

Licensing

This project is MIT licensed.

notes-app-ionic-pro's People

Contributors

housni avatar ahsanayaz 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.