GithubHelp home page GithubHelp logo

valery-barysok / appix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexmiranda/travix.core.adk

0.0 1.0 0.0 16.12 MB

App Developer Kit for the Travix Fireball infrastructure.

License: MIT License

Makefile 0.58% Go 87.07% PowerShell 6.01% Shell 4.50% JavaScript 1.85%

appix's Introduction

Travix Fireball ADK

App Developer Kit for the Travix Fireball infrastructure. The ADK consists of appix, a CLI tool to publish Apps to the App Catalog.

Build Status GitHub release

Installation

The ADK can be used on either Windows, Linux and Mac. There are separate installation scripts for Windows and Linux/Mac.

Windows

To install the latest version on Windows, execute the following command in a PowerShell window.

iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/Travix-International/appix/master/appixinstall.ps1'))

To install a specific version of the ADK, set the APPIX_VERSION environment variable before executing the above script.

$env:APPIX_VERSION='1.0.0.5'
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/Travix-International/appix/master/appixinstall.ps1'))

Linux and macOS

To install the latest version, run the following command in a terminal.

$ curl -sSL https://raw.githubusercontent.com/Travix-International/appix/master/appixinstall.sh | sh

To install a specific version of the ADK, run the following command.

$ curl -sSL https://raw.githubusercontent.com/Travix-International/appix/master/appixinstall.sh | APPIX_VERSION=1.0.0.5 sh

Getting started

After installation, the ADK can be run by typing appix in the terminal. Run appix --help to view the available commands and usage.

Development

For developing the ADK itself:

Clone

Clone the repo to your $GOPATH:

$ git clone [email protected]:Travix-International/appix.git $GOPATH/src/github.com/Travix-International/appix

Dependencies

Install the dependencies with gvt:

$ cd $GOPATH/src/github.com/Travix-International/appix
$ gvt restore

Environment variables

Make sure you have these environment variables (usually in your ~/.bash_profile file) with the correct values:

export TRAVIX_FIREBASE_API_KEY=""
export TRAVIX_FIREBASE_AUTH_DOMAIN=""
export TRAVIX_FIREBASE_DATABASE_URL=""
export TRAVIX_FIREBASE_STORAGE_BUCKET=""
export TRAVIX_FIREBASE_MESSAGING_SENDER_ID=""
export TRAVIX_LOGGER_URL=""
export TRAVIX_FIREBASE_REFRESH_TOKEN_URL=""
export TRAVIX_CERT_CONTENT=""
export TRAVIX_KEY_CONTENT=""
export TRAVIX_DEVELOPER_PROFILE_URL=""

Using a custom dev server

If we want to override the dev server to which appix is pushing an application under development, we have to add the "DevServerOverride" property to the .appixDevSettings file in the root folder of our application.

{
  ...
  "DevServerOverride": "https://my-dev-server.example.com"
}

Build

Running this would generate ./bin/appix-mac (if you are on macOS):

$ ./build.sh

Furthermore, you can copy it to the local appix path for easy access:

$ cp ./bin/appix-mac ~/.appix/appix

Now you can execute it as $ appix as usual.

License

MIT @ Travix International

appix's People

Contributors

markvincze avatar prutswonder avatar alexmiranda avatar gvdp-travix avatar jvantillo avatar taktakpeops avatar fahad19 avatar nunorfpt avatar maininfection 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.