Github Actions – Deploying [P2]

Tiếp theo bài về execute UnitTest giờ thì ta deploy lên STAG / UAT Giả sử ta có Workflow như sau Chạy Code Standards checksRồi Rector để upgrade code structure với PHP 8Sau đó chạy UnitTestCuối cùng sẽ deploy lên STAGSau khi merge PR về develop sẽ deploy lên UAT 1 chút nhắc lại câu... Continue Reading →

Debian [Ubuntu/Raspbian] installation script

git clone https://github.com/jooservices/workspace cd workspace chmod +x install.sh Follow script for installation https://github.com/jooservices/workspace Xubuntu 20.04 for lightweight purpose Update & install required packages sudo apt update && sudo apt -y upgrade sudo apt -y install software-properties-common sudo apt -y install curl git unzip perl libnet-ssleay-perl openssl openssh-server libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python Web server sudo apt -y... Continue Reading →

Pages: 1 2 3 4

XCrawler – Github action

name: XCrawler - Build & Tests on: pull_request: branches: [ develop ] jobs: build: # Test on Workstation runs-on: [ Workstation ] services: mysql: image: mysql:8.0.26 env: MYSQL_ROOT_PASSWORD: laravel MYSQL_USER: laravel MYSQL_PASSWORD: laravel MYSQL_DATABASE: laravel ports: - 3307:3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=5 -e MYSQL_ROOT_PASSWORD=laravel -e MYSQL_USER=laravel -e MYSQL_PASSWORD=laravel -e MYSQL_DATABASE=laravel --entrypoint sh mysql:8... Continue Reading →

Setup Linux workspace [ Archived ]

Xubuntu 20.04 for lightweight purpose Update after installed sudo apt update && sudo apt -y upgrade sudo apt -y install software-properties-common sudo apt -y install curl git unzip perl libnet-ssleay-perl openssl openssh-server libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python DatabasesMySQLMongoDB : https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ sudo apt install -y mysql-client mysql-sandbox mysql-server mysql-testsuite sudo /etc/init.d/mysql restart sudo mysql -u root... Continue Reading →

Lightweight Ubuntu

DistroRAMCPUDisk spaceDisplay resolutionMate1 GBPentium M 1.0 GHz9 GB1024 x 768Xubuntu512 MB (1 GB recommended)Pentium Pro or AMD AthlonMint Xfce1GB RAM (2GB recommended)15GB of disk space (20GB recommended)1024×768Peppermint1 GB of RAM (recommended 2 GB)Processor based on Intel x86 architectureAt least 4 GB of available disk spaceLubuntu1 GB of RAMPentium 4 or Pentium M or AMD K8... Continue Reading →

Understand Laravel job traits

class ProcessPodcast implements ShouldQueue { use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; /** * The podcast instance. * * @var \App\Models\Podcast */ protected $podcast; /** * Create a new job instance. * * @param App\Models\Podcast $podcast * @return void */ public function __construct(Podcast $podcast) { $this->podcast = $podcast; } /** * Execute the job. * * @param... Continue Reading →

Up ↑