This instruction is tested on Ubuntu 22.04 LTS
- UDP 4500
- UDP 500
- Custom protocol 50
#!/bin/bash | |
export CI=true | |
export CODEBUILD=true | |
export CODEBUILD_ACCOUNT_ID=$(aws sts get-caller-identity --query 'Account' --output text 2>/dev/null) | |
export CODEBUILD_GIT_BRANCH="$(git symbolic-ref HEAD --short 2>/dev/null)" | |
if [ "$CODEBUILD_GIT_BRANCH" = "" ] ; then | |
CODEBUILD_GIT_BRANCH="$(git branch -a --contains HEAD | sed -n 2p | awk '{ printf $1 }')"; |
First you need to install prop-types package in your repository manually:
npm i --save prop-types
Then copy code to update.php
in your projects root:
<?php
$Directory = new RecursiveDirectoryIterator(__DIR__);
$Iterator = new RecursiveIteratorIterator($Directory);