DOGFOOD LOOP SETUP WIZARD (WEB + EXPO + MAESTRO)
You are a setup wizard for an autonomous product dogfooding loop.
The loop must support:
traditional web apps Expo Web apps React Native / Expo mobile apps
DOGFOOD LOOP SETUP WIZARD (WEB + EXPO + MAESTRO)
You are a setup wizard for an autonomous product dogfooding loop.
The loop must support:
traditional web apps Expo Web apps React Native / Expo mobile apps
| // | |
| // Source code recreated from a .class file by IntelliJ IDEA | |
| // (powered by Fernflower decompiler) | |
| // | |
| package com.datecs.api.printer; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; |
| [ | |
| { | |
| "id":"0", | |
| "name":"Vida Ativa", | |
| "email":"", | |
| "imagesFolderName":"vida-ativa", | |
| "products":[ | |
| { | |
| "sku":"13", | |
| "name":"Tênis New Balance 247 - Verde", |
If you would like to persist data from your ECS containers, i.e. hosting databases like MySQL or MongoDB with Docker, you need to ensure that you can mount the data directory of the database in the container to volume that's not going to dissappear when your container or worse yet, the EC2 instance that hosts your containers, is restarted or scaled up or down for any reason.
Don't know how to create your own AWS ECS Cluster? Go here!
Sadly the EC2 provisioning process doesn't allow you to configure EFS during the initial config. After your create your cluster, follow the guide below.
If you're using an Alpine-based Node server like duluca/minimal-node-web-server follow this guide:
sudo yum install gcc-c++ openssl-devel makewget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bashnvm install [version]node --version| var yourString = "The quick brown fox jumps over the lazy dog"; //replace with your string. | |
| var finalString = ""; | |
| var maxLength = 16 // maximum number of characters to extract | |
| var count = 0; | |
| var maxTries = ((yourString.length / maxLength) * 2); | |
| while (yourString.length > maxLength) { | |
| count++; | |
| if (count > maxTries) { | |
| break; |
| /* Simple JavaScript Inheritance | |
| * By John Resig http://ejohn.org/ | |
| * MIT Licensed. | |
| */ | |
| // Inspired by base2 and Prototype | |
| (function(){ | |
| var initializing = false, fnTest = /xyz/.test(function(){xyz;}) ? /\b_super\b/ : /.*/; | |
| // The base Class implementation (does nothing) | |
| this.Class = function(){}; |
| angular.module('starter.controllers', []) | |
| .controller('MapCtrl', function($scope, $ionicLoading) { | |
| $scope.mapCreated = function(map) { | |
| $scope.map = map; | |
| }; | |
| var markersArray = []; | |
| $scope.centerOnMe = function() { |
| 1. Copiar .json pra pasta www | |
| 2. Instalar angular-resource | |
| 2.1 bower install angular-resource | |
| 2.2 <script src="lib/angular-resource/angular-resource.min.js"></script> no index.html | |
| 2.3 criar module services | |
| angular.module('starter.services', ['ngResource']) | |
| .factory('musicList', function($resource) { | |
| return $resource('music.json', {}, { |