GithubHelp home page GithubHelp logo

florianschwanz / amphibian Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 976 KB

Template for multi-platform apps based on Angular + Material + Electron + Cordova

License: GNU General Public License v3.0

TypeScript 77.15% JavaScript 6.06% HTML 7.95% CSS 8.84%
angular typescript material sass electron cordova android gradle desktop linux nodejs pwa

amphibian's Introduction

Amphibian

Aim

This project can be used as an app template to target multiple platforms such as

  • Web servers
  • Desktop operating systems
    • Linux
    • MacOS
    • Windows
  • Mobile operating systems
    • Android
    • iOS
    • Windows Mobile

This template uses frameworks and guidelines to allow for a quick development such as

as well as frameworks to enable multi-platform support

Project structure

  • cordova - cordova working dir (do not touch)
  • doc - release notes
  • e2e - end-to-end tests
  • gradle - gradle wrapper (do not touch)
  • src - app code

Requirements

  • you can run/build this template using either

Development

For some supported platforms there is a script that can be used to run the application locally.

Web

  • run the following command to start the web version of the application
npm run start

or

gradlew start
  • call http://localhost:4200 in a browser to start the app

Desktop

  • run the following command to start the desktop version of the application
npm run electron-start

or

gradlew electronStart
  • the application will be started in a separate window automatically

Android

  • run the following command to start the Android version of the application
  • note: for the Android version to run you need to have Android SDK installed
npm run cordova-android-start

or

gradlew cordovaAndroidStart

Building

For each supported platform there is a script that can be used to bundle the application.

Web

  • run the following command to create a release bundle for web
npm run release-web

or

gradlew releaseWeb
  • a release bundle for web named %npm_package_name%-web-%npm_package_version%.zip will be created in directory release

Linux

  • run the following command to create a release bundle for Linux (64-bit)
npm run release-linux

or

gradlew releaseLinux
  • a release bundle for Linux named %npm_package_name%-linux-x64-%npm_package_version%.zip will be created in directory release

MacOS

  • run the following command to create a release bundle for MacOS (64-bit)
  • note: to build for MacOS NodeJS command prompt must be run as administrator
npm run release-macos

or

gradlew releaseMacos
  • a release bundle for MacOS named %npm_package_name%-macos-x64-%npm_package_version%.zip will be created in directory release

Windows

  • run the following command to create a release bundle for Windows (64-bit)
npm run release-windows

or

gradlew releaseWindows
  • a release bundle for Windows named %npm_package_name%-win32-x64-%npm_package_version%.zip will be created in directory release

Android

  • run the following command to create a release bundle for Android
npm run release-android

or

gradlew releaseAndroid
  • a release bundle for Android named %npm_package_name%-android-%npm_package_version%.zip will be created in directory release

amphibian's People

Contributors

florianschwanz avatar

Stargazers

Siew-Mai Chan avatar

Watchers

 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.