GithubHelp home page GithubHelp logo

paultcn / launcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from subutai-attic/launcher

0.0 0.0 0.0 27.83 MB

Subutai Launcher for desktop

License: Apache License 2.0

Makefile 0.21% C++ 69.45% C 23.32% Objective-C++ 3.83% Java 0.67% Objective-C 0.14% Python 2.32% Shell 0.06%

launcher's Introduction

Subutai Launcher is an installer-like application for Windows, Linux and MacOS operating systems. The aim of this project is to help users to setup applications required to start Subutai usage. It will also help to setup a Subutai Peer.

Launcher is written in C++ programming language with use of Poco C++ Libraries and JUCE Framework.

It is actively uses Python as a scripting language.

Building on Windows

  • Download and compile Poco C++ Libraries
  • Set POCO_ROOT environment variable pointing to top Poco directory

Building on Linux

  1. Download and compile Poco C++ Libraries [https://github.com/pocoproject/poco]
./configure --static --shared --omit=Data/ODBC,Data/MySQL,Data/PostgreSQL --no-tests --no-samples
make 
make install
  1. Download and compile cpython [https://github.com/python/cpython]
./configure --prefix=/opt/subutai/python
make 
make install
  1. Install libssh, libx11-dev, libfreetype6-dev, libxrandr-dev, libxinerama-dev, libxcomposite-dev, libxcursor-dev (Ubuntu)
  2. Configure with ./configure script. Use --help option to see available configuration options. Most probably you need to specify python version with --python= option.
  3. Build with make
make ui

Building on MacOS

To package you need a linux machine with the following tools installed: autoconf, xar, bomutils To build xar:

./autogen.sh
./configure
make
make install

File System

Launcher uses different installation locations depending on platform:

  • Linux uses /opt/subutai
  • MacOS uses /usr/local/share/subutai
  • Windows uses TBD

Under these directory several extra directories are created:

  • /bin - collection of all binaries like p2p, tray and launcher itself
  • /etc - configuration for different subutai applications and resources
  • /launcher - files related to launcher (Python standard library)

Reporting issues

Use GitHub issues to report issues. Do not forget to add a label to determine a platform you are experiencing problems on. To contribute into Launcher read CONTRIBUTING.md that will help you to build master/dev version of a launcher and setup developer's environment

JUCE Patches

JUCE requires some changes in code in order to work.

  1. JuceLibraryCode/modules/juce_events/messages/juce_ApplicationBase.cpp In methods getCommandLineParameterArray() following lines:
(juce_argv + 1, juce_argc - 1)

should be changed to

(juce_argv/* + 1/*, juce_argc/* - 1*/)

launcher's People

Contributors

crioto avatar btemir 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.