Public Repository

Last pushed: 2 months ago
Short Description
This is a sample project to test the @angular/flex-layout framework.
Full Description

This is a sample project to test the @angular/flex-layout framework.

It will also build and run in a Docker container on both x86_64 and ARM32v7 architectures.

Source at flexlayout

Supported Tags

Just Run

If you would just like to run the application please see the flexlayout-compose repository on GitHub.

Build and Run for X86_64

The following steps will build and run the service app on X86_64.

  1. npm install
  2. npm run docker-start

Build and Run for ARM32v7

The following steps will build and run the service app on ARM32v7.

  • On the cross-compilation development environment (e.g., macOS)
  1. npm install
  2. npm run rpi3
  • On the ARM device
  1. tar xzf flexLayout.tgz
  2. cd flexLayout
  3. npm run docker-start-arm

Note node and npm (including packages) support is slim for ARM; cross-compilation is required. So after the project
is transferred to your ARM device you do not want to try to build it.

Prerequisites

You need to prepare a few things in order to use the instructions for the ARM32v7 platform.

  1. Install Unbuntu MATE 16.04 on your ARM device (note that I have not tested with Raspian)
  2. Create an entry in /etc/hosts on macOS to point to your devices ip address
  3. Setup ssh certifate authentication from macOS to your ARM device
  4. Edit the Constants in animalsapictl to fit your environment: REPO, IMAGE, CONTAINER, PORT, RPI3HOST and RPI3PATH

In order to use the instructions on the x86_64 platform do the following.

  1. Edit /etc/hosts and add an entry for outerhost as follows:
    127.0.0.1       outerhost
    

Note that this project depends on the Service Application klmcwhirter/animalsapi.

Also note that if you use flexlayout-compose repository most of these prerequisites do not apply.

License

I have added an MIT license just so that it is clear that you can do whatever you like with this, but I provide
no warranty.

Docker Pull Command
Owner
klmcwhirter

Comments (0)