Giter Club home page Giter Club logo

notepad's Introduction

amiga-brain-example

This repository is designed to streamline the creation of a new application deployable to the Amiga brain.


TL;DR :: How to use this

Requirements

NOTE: This assumes you already have Python3 installed

Please note, to properly utilize this template, please install the Python cookiecutter package from PyPi.

Linux / WSL:

python3 -m pip install --user cookiecutter

Mac:

brew install cookiecutter

Create a repository from this template

Click on green Use this template button (top right) to create a new repository based on this repo

Fill in the details, example below:

  • Owner: username
  • Repository Name: hello-amiga (names should be between 4-17 characters)
  • Set to Public

Once completed, click [Create repository from template]

When the repository creation process has completed, clone the repo to your local workspace

Create an app

Your now ready to create your first Kivy app, please choose a name between 4 and 17 characters run the create app.sh script

./create_app.sh
  1. Enter your full name
  2. press enter
  3. enter your chosen app name as well.
  4. Press enter again
  5. Press enter once more to accept the formatted package name
    • Or rename the package as you desire

Your kivy application has been created under the apps directory

ls apps/

[Optional] Test the app locally

Before any changes, lets see if we can run this app locally on your system.

apps/<your app name>/entry.sh

When running the above script, a virtual environment will be created under the directory and any dependencies will be installed.

If all goes well, you'll see an empty kivy application on your screen.


SSH Configuration

Configure your .ssh/config

Host amiga
    HostName <intranet ip address>
    Port 22
    User amiga
    StrictHostKeyChecking no

<intranet ip address> can be found on the bottom right of the Amiga Brain screen.

Copy your SSH key to the Amiga

  • If you do not have a key created
    ssh-keygen
ssh-copy-id amiga

Customizing an app

TODO


Publish an app

To publish an app to the Amiga, run the sync.sh script located in the app's folder.

apps/*<your app name>*/sync.sh -s start

To see your app on the Amiga screen, cause a refresh by tapping the settings screen then pressing the home button on the top right.

Click the app and wait for it to install and run.

notepad's People

Contributors

jerrycowell96 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.