zsh -c "$(curl -fsSL https://raw.githubusercontent.com/nrjdalal/silicon-virtualizer/master/install-qemu.sh)"xcode-select --installHello everyone, feel free to share your thoughts, questions, or ideas for new features and projects.
Let's keep it respectful and engaging. Looking forward to hearing from y'all!
| # pre-requisites -> gh, yarn, pm2 | |
| name: production | |
| on: | |
| push: | |
| branches: ['main', 'master'] | |
| pull_request: | |
| branches: ['main', 'master'] |
| sudo apt update && sudo apt upgrade -y && sudo apt install build-essential -y && sudo passwd ubuntu | |
| sudo apt install zsh -y && chsh -s $(which zsh) | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /home/ubuntu/.zprofile | |
| eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install gcc | |
| brew install nvm && mkdir -p ~/.nvm && export NVM_DIR="$HOME/.nvm" |
| # ~ dnsmasq.conf | |
| brew install dnsmasq | |
| touch $(brew --prefix)/etc/dnsmasq.conf | |
| read -r -d '' VAR <<END | |
| address=/.next/127.0.0.1 | |
| END | |
| grep -Fqx $VAR $(brew --prefix)/etc/dnsmasq.conf || echo "$VAR" >>$(brew --prefix)/etc/dnsmasq.conf | |
| sudo mkdir -p /etc/resolver && sudo zsh -c 'echo "nameserver 127.0.0.1" >/etc/resolver/next' | |
| sudo brew services restart dnsmasq |