Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| #!/bin/sh | |
| # ---- Config | |
| ENV_NAME="Homologação" | |
| TAG_SUFFIX="homolog" | |
| PROJECT_NAME="Scania Journey Event" | |
| PROJECT_PATH_HOST="/home/lfalmeida/Projects/GitHooks/prod/" | |
| PROJECT_PATH_DOCKER="/src/projeto" | |
| SLACK_WEBHOOK="" | |
| ENABLE_SLACK_POST=0 |
| <template> | |
| <va-card :title="$t('menu.products')"> | |
| <div class="row"> | |
| <div class="flex xs12 md4"> | |
| <va-input | |
| :value="term" | |
| :placeholder="$t('tables.searchByProduct')" | |
| @input="search" | |
| removable | |
| > |
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
sudo usermod -a -G docker ec2-user| import $store from '../store' | |
| const remove = (vnode) => vnode.elm.parentElement.removeChild(vnode.elm) | |
| export default { | |
| install (Vue) { | |
| Vue.directive('permission', { | |
| inserted (el, binding, vnode) { | |
| if (binding.arg !== 'can') { | |
| return |
| <?php | |
| class Xpto | |
| { | |
| public function addPoints($amount) | |
| { | |
| return $this->processPoints($amount, function ($amount, $currentPointsAvailable, $conversionRate) { | |
| return $currentPointsAvailable + ($amount * $conversionRate) | |
| }); | |
| } |
| FROM node:10.15-alpine as base | |
| RUN apk --no-cache --virtual build-dependencies add \ | |
| python \ | |
| make \ | |
| g++ \ | |
| && rm -f /var/cache/apk/* \ | |
| && npm config set unsafe-perm true \ | |
| && npm install --quiet node-gyp -g --cache /tmp/empty-cache |
| opcache.validate_timestamps=0 | |
| opcache.save_comments=0 | |
| opcache.enable_cli=1 | |
| opcache.enable_file_override=1 | |
| opcache.file_cache=/app/opcache |
| import axios from 'axios' | |
| // window.axios = require('axios') | |
| import config from '@/config' | |
| import JwtToken from '@/services/jwt-token' | |
| import $store from '@/store' | |
| import config from '@/config' | |
| const http = axios.create({ | |
| baseURL: config.apiUrl, | |
| // timeout: 1000, |
| <template> | |
| <pl-form | |
| title="Cadastro de Bairro" | |
| @close="fecharBairroCadastro()" | |
| class="w-90-tb w-80-dt w-60-lg w-45-xl maximize-tb-down" | |
| :blocked="bloqueado" | |
| > | |
| <div class="bar mt-3"> | |
| <pl-input v-model="objBairro.no_municipio" label="Município" class="wf-auto blocked"></pl-input> | |
| <pl-switch |